Commit e5949050f2610fa526b154e0d8379218e54f49d1

Authored by Harvey Harrison
Committed by Linus Torvalds
1 parent 95b570c9ce

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 <harvey.harrison@gmail.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -122,9 +122,9 @@
122 122 ptr.ptr8 = bufoff(bh, i);
123 123 end.ptr8 = ptr.ptr8 + last - i;
124 124  
125   - do
  125 + do {
126 126 dircheck = *ptr.ptr8++ ^ ror13(dircheck);
127   - while (ptr.ptr8 < end.ptr8);
  127 + } while (ptr.ptr8 < end.ptr8);
128 128 }
129 129  
130 130 /*