[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hk423tn1b.wl%tiwai@suse.de>
Date: Thu, 29 Mar 2012 18:00:32 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Randy Dunlap <rdunlap@...otime.net>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
alsa-devel@...a-project.org
Subject: Re: [PATCH] sound: fix isa/opti9xx module param type
At Wed, 28 Mar 2012 18:26:17 -0700,
Randy Dunlap wrote:
>
> From: Randy Dunlap <rdunlap@...otime.net>
>
> Fix module parameter data type to eliminate build warnings.
>
> sound/isa/opti9xx/opti92x-ad1848.c:87:1: warning: return from incompatible pointer type
> sound/isa/opti9xx/opti92x-ad1848.c:87:1: warning: return from incompatible pointer type
>
> Signed-off-by: Randy Dunlap <rdunlap@...otime.net>
Applied this one, too.
Takashi
> ---
> sound/isa/opti9xx/opti92x-ad1848.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-next-20120328.orig/sound/isa/opti9xx/opti92x-ad1848.c
> +++ linux-next-20120328/sound/isa/opti9xx/opti92x-ad1848.c
> @@ -65,7 +65,7 @@ static int index = SNDRV_DEFAULT_IDX1; /
> static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */
> //static bool enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */
> #ifdef CONFIG_PNP
> -static int isapnp = 1; /* Enable ISA PnP detection */
> +static bool isapnp = true; /* Enable ISA PnP detection */
> #endif
> static long port = SNDRV_DEFAULT_PORT1; /* 0x530,0xe80,0xf40,0x604 */
> static long mpu_port = SNDRV_DEFAULT_PORT1; /* 0x300,0x310,0x320,0x330 */
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists