Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5949050 authored by Harvey Harrison's avatar Harvey Harrison Committed by Linus Torvalds
Browse files

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: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 95b570c9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
	}

	/*