[alsa-devel] [PATCH] sound: fix oss/msnd_pinnacle module param type
From: Randy Dunlap rdunlap@xenotime.net
Fix module parameter data type to eliminate build warning.
sound/oss/msnd_pinnacle.c:1727:1: warning: return from incompatible pointer type
Signed-off-by: Randy Dunlap rdunlap@xenotime.net --- sound/oss/msnd_pinnacle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20120328.orig/sound/oss/msnd_pinnacle.c +++ linux-next-20120328/sound/oss/msnd_pinnacle.c @@ -1631,7 +1631,7 @@ static int ide_irq __initdata = 0; static int joystick_io __initdata = 0;
/* If we have the digital daugherboard... */ -static int digital __initdata = 0; +static bool digital __initdata = false; #endif
static int fifosize __initdata = DEFFIFOSIZE;
At Wed, 28 Mar 2012 18:26:13 -0700, Randy Dunlap wrote:
From: Randy Dunlap rdunlap@xenotime.net
Fix module parameter data type to eliminate build warning.
sound/oss/msnd_pinnacle.c:1727:1: warning: return from incompatible pointer type
Signed-off-by: Randy Dunlap rdunlap@xenotime.net
Applied now. Thanks.
Takashi
sound/oss/msnd_pinnacle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20120328.orig/sound/oss/msnd_pinnacle.c +++ linux-next-20120328/sound/oss/msnd_pinnacle.c @@ -1631,7 +1631,7 @@ static int ide_irq __initdata = 0; static int joystick_io __initdata = 0;
/* If we have the digital daugherboard... */ -static int digital __initdata = 0; +static bool digital __initdata = false; #endif
static int fifosize __initdata = DEFFIFOSIZE;
participants (2)
-
Randy Dunlap
-
Takashi Iwai