Re: problem compiling 2.5.30

Brad Heilbrun (bheilbrun@paypal.com)
Sat, 3 Aug 2002 06:06:24 -0700


On Fri, Aug 02, 2002 at 11:53:21AM -0500, Ognen Duzlevski wrote:
> Hi, sorry if this popped up before. It is a redhat 7.3 box, gcc 2.96.
> this happens when I include devfs into the kernel.

Courtesy of a nice typo... this should fix it (not tested however).

-- 
Brad Heilbrun

--- ./linus-2.5/fs/partitions/check.c Thu Aug 1 22:48:50 2002 +++ ./brad-2.5/fs/partitions/check.c Sat Aug 3 05:52:29 2002 @@ -467,7 +467,7 @@ for (part = 1; part < max_p; part++) { if ( unregister || (p[part].nr_sects < 1) ) { devfs_unregister(p[part].de); - dev->part[p].de = NULL; + p[part].de = NULL; continue; } devfs_register_partition (dev, minor, part); - 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/