Re: 2.5.13 -- UFS compile error in fs/ufs/super.c:661: In function `ufs_fill_super': parse error before "uspi"

From: Skip Ford (skip.ford@verizon.net)
Date: Fri May 03 2002 - 01:39:00 EST


Miles Lane wrote:
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=athlon
> -DKBUILD_BASENAME=super -c -o super.o super.c
> super.c: In function `ufs_fill_super':
> super.c:661: parse error before "uspi"
> super.c:666: parse error before "uspi"
> super.c:676: parse error before "uspi"
> super.c:681: parse error before "uspi"
> make[3]: *** [super.o] Error 1
> make[3]: Leaving directory `/usr/src/linux/fs/ufs'

Sorry Miles. I think the first one was for 2.4. This one's for 2.5.

--- fs/ufs/super.c.old Fri May 3 02:34:37 2002
+++ fs/ufs/super.c Fri May 3 02:35:08 2002
@@ -657,12 +657,12 @@
                         goto failed;
         }
         if (uspi->s_fsize < 512) {
- printk("ufs_read_super: fragment size %u is too small\n"
+ printk("ufs_read_super: fragment size %u is too small\n",
                         uspi->s_fsize);
                 goto failed;
         }
         if (uspi->s_fsize > 4096) {
- printk("ufs_read_super: fragment size %u is too large\n"
+ printk("ufs_read_super: fragment size %u is too large\n",
                         uspi->s_fsize);
                 goto failed;
         }
@@ -672,12 +672,12 @@
                 goto failed;
         }
         if (uspi->s_bsize < 4096) {
- printk("ufs_read_super: block size %u is too small\n"
+ printk("ufs_read_super: block size %u is too small\n",
                         uspi->s_fsize);
                 goto failed;
         }
         if (uspi->s_bsize / uspi->s_fsize > 8) {
- printk("ufs_read_super: too many fragments per block (%u)\n"
+ printk("ufs_read_super: too many fragments per block (%u)\n",
                         uspi->s_bsize / uspi->s_fsize);
                 goto failed;
         }

-- 
Skip
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:18 EST