Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288
b: refs/heads/master
c: 0598571
h: refs/heads/master
v: v3
  • Loading branch information
johnpol@2ka.mipt.ru authored and Greg KH committed Apr 19, 2005
1 parent feef0a3 commit 20e559b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8523ff45672a5c9209ab7459142e37e7cd393e6c
refs/heads/master: 05985715756b8667cb35a3e05e1668bb8afe3298
4 changes: 2 additions & 2 deletions trunk/drivers/w1/w1_smem.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static ssize_t w1_smem_read_val(struct device *dev, char *buf)
int i;
ssize_t count = 0;

for (i = 0; i < 9; ++i)
for (i = 0; i < 8; ++i)
count += sprintf(buf + count, "%02x ", ((u8 *)&sl->reg_num)[i]);
count += sprintf(buf + count, "\n");

Expand All @@ -87,7 +87,7 @@ static ssize_t w1_smem_read_bin(struct kobject *kobj, char *buf, loff_t off, siz
count = 0;
goto out;
}
for (i = 0; i < 9; ++i)
for (i = 0; i < 8; ++i)
count += sprintf(buf + count, "%02x ", ((u8 *)&sl->reg_num)[i]);
count += sprintf(buf + count, "\n");

Expand Down

0 comments on commit 20e559b

Please sign in to comment.