Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84249
b: refs/heads/master
c: aeddb87
h: refs/heads/master
i:
  84247: bc8c1c0
v: v3
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Dec 26, 2007
1 parent 5847754 commit a5cd3b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: b6b76ba466bbd47397efad0fdaeaa5ebf7d462c7
refs/heads/master: aeddb87718823fb81b896155b34d1bb4c8cae874
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/ubi/build.c
Original file line number Diff line number Diff line change
Expand Up @@ -1038,10 +1038,8 @@ static int __init bytes_str_to_int(const char *str)
case 'M':
result *= 1024;
case 'K':
case 'k':
result *= 1024;
if (endp[1] == 'i' && (endp[2] == '\0' ||
endp[2] == 'B' || endp[2] == 'b'))
if (endp[1] == 'i' && endp[2] == 'B')
endp += 2;
case '\0':
break;
Expand Down

0 comments on commit a5cd3b4

Please sign in to comment.