Re: Linux 2.5.30

Alexander Viro (viro@math.psu.edu)
Thu, 1 Aug 2002 20:12:34 -0400 (EDT)


On Fri, 2 Aug 2002, Banai Zoltan wrote:

> There is a complie error:
> make[2]: Entering directory `/usr/src/linux-2.5.24/fs/partitions'
> gcc -Wp,-MD,./.check.o.d -D__KERNEL__
> -I/usr/src/linux-2.5.24/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
> -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686
> -nostdinc -iwithprefix include -DKBUILD_BASENAME=check
> -DEXPORT_SYMTAB -c -o check.o check.c
> check.c: In function `devfs_register_partitions':
> check.c:470: array subscript is not an integer

Argh. My fault - it's devfs-only code and it didn't get tested ;-/

Fix: replace line 470 with
p[part].de = NULL;

-
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/