Re: [PATCH 19/43] drivers/net/hamradio: fix warning: format not astring literal and no ...

From: David Miller
Date: Tue Feb 17 2009 - 20:30:51 EST


From: Hannes Eder <hannes@xxxxxxxxxxxxxx>
Date: Sat, 14 Feb 2009 22:33:21 +0100

> Impact: Use 'static const char[]' instead of 'static char[]' and while
> being at it fix an issue in 'mkiss_init_driver', where in case of an
> error the status code was not passed to printk.
>
> Fix this warnings:
> drivers/net/hamradio/6pack.c: In function 'sixpack_init_driver':
> drivers/net/hamradio/6pack.c:802: warning: format not a string literal and no format arguments
> drivers/net/hamradio/bpqether.c: In function 'bpq_init_driver':
> drivers/net/hamradio/bpqether.c:609: warning: format not a string literal and no format arguments
> drivers/net/hamradio/mkiss.c: In function 'mkiss_init_driver':
> drivers/net/hamradio/mkiss.c:988: warning: format not a string literal and no format arguments
> drivers/net/hamradio/mkiss.c:991: warning: format not a string literal and no format arguments
> drivers/net/hamradio/scc.c: In function 'scc_init_driver':
> drivers/net/hamradio/scc.c:2109: warning: format not a string literal and no format arguments
> drivers/net/hamradio/yam.c: In function 'yam_init_driver':
> drivers/net/hamradio/yam.c:1094: warning: format not a string literal and no format arguments
>
> Signed-off-by: Hannes Eder <hannes@xxxxxxxxxxxxxx>

Applied.
--
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/