Messages in this thread Patch in this message |  | | Date | Mon, 12 Nov 2001 22:03:41 -0800 (PST) | Subject | Re: Linux 2.4.15-pre4 - merge with Alan | From | "David S. Miller" <> |
| |
From: Neil Brown <neilb@cse.unsw.edu.au> Date: Tue, 13 Nov 2001 16:54:00 +1100 (EST)
uhci.c:2986: warning: initialization discards qualifiers from pointer target type
The correct fix for this one is below and already sent to Linus:
diff -u --recursive --new-file --exclude=CVS --exclude=.cvsignore vanilla/linux/include/linux/module.h linux/include/linux/module.h --- vanilla/linux/include/linux/module.h Mon Nov 12 15:13:12 2001 +++ linux/include/linux/module.h Mon Nov 12 17:11:04 2001 @@ -317,7 +317,7 @@ * const, other exit data may be writable. */ #define MODULE_GENERIC_TABLE(gtype,name) \ -static struct gtype##_id * __module_##gtype##_table \ +static const struct gtype##_id * __module_##gtype##_table \ __attribute__ ((unused, __section__(".data.exit"))) = name #ifndef __GENKSYMS__ - 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/
|  |