projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95b570c
)
adfs: work around bogus sparse warning
author
Harvey Harrison
<
[email protected]
>
Tue, 29 Apr 2008 07:58:41 +0000
(
00:58
-0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 29 Apr 2008 15:05:59 +0000
(08:05 -0700)
fs/adfs/dir_f.c:126:4: warning: do-while statement is not a compound statement
Signed-off-by: Harvey Harrison <
[email protected]
>
Cc: Russell King <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/adfs/dir_f.c
patch
|
blob
|
history
diff --git
a/fs/adfs/dir_f.c
b/fs/adfs/dir_f.c
index b9b2b27b68c30f3dd97a7717d0f557e5f3f9615d..ea7df2146921142a27b4c27b5e4ebd15704f2f02 100644
(file)
--- a/
fs/adfs/dir_f.c
+++ b/
fs/adfs/dir_f.c
@@
-122,9
+122,9
@@
adfs_dir_checkbyte(const struct adfs_dir *dir)
ptr.ptr8 = bufoff(bh, i);
end.ptr8 = ptr.ptr8 + last - i;
- do
+ do
{
dircheck = *ptr.ptr8++ ^ ror13(dircheck);
- while (ptr.ptr8 < end.ptr8);
+
}
while (ptr.ptr8 < end.ptr8);
}
/*