* [PATCH] tiny warning fix in drivers/cdrom/mcd.c
@ 2005-01-30 16:55 Jesper Juhl
0 siblings, 0 replies; only message in thread
From: Jesper Juhl @ 2005-01-30 16:55 UTC (permalink / raw)
To: linux-kernel; +Cc: akpm
Here's a small patch to fix this warning :
drivers/cdrom/mcd.c:268: warning: passing arg 1 of `mcd_setup' discards qualifiers from pointer target type
Yes, the driver is ancient, but that's no reason to not fix warnings :)
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
--- linux-2.6.11-rc2-bk7-orig/drivers/cdrom/mcd.c 2005-01-22 21:59:31.000000000 +0100
+++ linux-2.6.11-rc2-bk7/drivers/cdrom/mcd.c 2005-01-30 17:47:33.000000000 +0100
@@ -244,7 +244,7 @@ static struct block_device_operations mc
static struct gendisk *mcd_gendisk;
-static int __init mcd_setup(char *str)
+static int __init mcd_setup(const char *str)
{
int ints[9];
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-30 16:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-30 16:55 [PATCH] tiny warning fix in drivers/cdrom/mcd.c Jesper Juhl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).