aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/main.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-14 06:50:06 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-17 22:49:18 -0500
commitfc68ed4fd7fdfafbefb270cf44194096156c7943 (patch)
treec2500f00eca5c6fbf0eead2d862389a1bfbe61c6 /drivers/net/wireless/b43/main.c
parent93f726a90d1446c9e5a40fe8f88086542b273e7c (diff)
drivers/net/wireless/b43: fix warning: format not a string literal and no ...
Fix this compilation warning: drivers/net/wireless/b43/main.c: In function 'b43_print_fw_helptext': drivers/net/wireless/b43/main.c:1971: warning: format not a string literal and no format arguments drivers/net/wireless/b43/main.c:1973: warning: format not a string literal and no format arguments Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r--drivers/net/wireless/b43/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index dbb8765506e8..7116ab6eccfa 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -1961,12 +1961,12 @@ static void b43_release_firmware(struct b43_wldev *dev)
1961 1961
1962static void b43_print_fw_helptext(struct b43_wl *wl, bool error) 1962static void b43_print_fw_helptext(struct b43_wl *wl, bool error)
1963{ 1963{
1964 const char *text; 1964 const char text[] =
1965 "You must go to " \
1966 "http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware " \
1967 "and download the correct firmware for this driver version. " \
1968 "Please carefully read all instructions on this website.\n";
1965 1969
1966 text = "You must go to "
1967 "http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware "
1968 "and download the correct firmware for this driver version. "
1969 "Please carefully read all instructions on this website.\n";
1970 if (error) 1970 if (error)
1971 b43err(wl, text); 1971 b43err(wl, text);
1972 else 1972 else