Re: linux-next: tty tree build warning

From: Rakib Mullick
Date: Wed Jan 20 2010 - 23:22:43 EST


On 1/20/10, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> Hi Greg,
>
> Today's linux-next build (x86_64 allmodconfig) produced this warning:
>
> drivers/char/ip2/ip2main.c:511: warning: 'ip2_setup' defined but not used
>
Can we use module parameters? A check could be made if parameter hasn't
passed then we'll just return.

> Introduced by commit 3f042287578018e0dc1c38b6f684767e657db62f ("ip2:
> remove #ifdef MODULE from ip2main.c").
>
> __setup() is a noop if CONFIG_MODULE is defined.
>
> --
> Cheers,
> Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
> http://www.canb.auug.org.au/~sfr/
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/