]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/adfs/dir_f.c
hwmon: (lm90) Fix handling of hysteresis value
[linux-2.6-omap-h63xx.git] / fs / adfs / dir_f.c
index b9b2b27b68c30f3dd97a7717d0f557e5f3f9615d..ea7df2146921142a27b4c27b5e4ebd15704f2f02 100644 (file)
@@ -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);
        }
 
        /*