mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
adfs: work around bogus sparse warning
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]>
This commit is contained in:
parent
95b570c9ce
commit
e5949050f2
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue