staging: wilc1000: fix build error for openrisc-allmodconfig
PATCH 1/1 staging: wilc1000: fix build error for openrisc-allmodconfig
The kbuild test robot reports the following build error for openrisc-allmodconfig.
Quoted 2 lines
Quoted 2 lines
drivers/staging/wilc1000/wilc_sdio.c:584:2: error: implicit declaration of function 'memset'
The error occurs due to missing a standard header file as <linux/string.h> so that three .c files are included it.
--- drivers/staging/wilc1000/wilc_sdio.c | 1 + drivers/staging/wilc1000/wilc_spi.c | 1 + drivers/staging/wilc1000/wilc_wlan_cfg.c | 1 + 3 files changed, 3 insertions(+)
drivers/staging/wilc1000/wilc_sdio.c +1 -0
@@ -7,6 +7,7 @@/* */ /* //////////////////////////////////////////////////////////////////////////// */ +#include <linux/string.h> #include "wilc_wlan_if.h" #include "wilc_wlan.h"
drivers/staging/wilc1000/wilc_spi.c +1 -0
@@ -7,6 +7,7 @@/* */ /* //////////////////////////////////////////////////////////////////////////// */ +#include <linux/string.h> #include "wilc_wlan_if.h" #include "wilc_wlan.h"
drivers/staging/wilc1000/wilc_wlan_cfg.c +1 -0
@@ -7,6 +7,7 @@/* */ /* ///////////////////////////////////////////////////////////////////////// */ +#include <linux/string.h> #include "wilc_wlan_if.h" #include "wilc_wlan.h" #include "wilc_wlan_cfg.h"
Signature · 1 line
2.6.0
Greg KH
maintainerQuoted 10 lines · Chaehyun Lim
The kbuild test robot reports the following build error for openrisc-allmodconfig.
Quoted 2 lines
Quoted 2 lines
drivers/staging/wilc1000/wilc_sdio.c:584:2: error: implicit declaration of function 'memset'The error occurs due to missing a standard header file as <
linux/string.h> so that three .c files are included it.Signed-off-by Chaehyun Lim <[email protected]>
You forgot to add a Reported-by: line giving credit to kbuild, I've done that by hand.
thanks,
greg k-h
Quoted 10 lines · Greg KH
Quoted 9 lines · Chaehyun Lim
The kbuild test robot reports the following build error for openrisc-allmodconfig.
Quoted 2 lines
Quoted 2 lines
drivers/staging/wilc1000/wilc_sdio.c:584:2: error: implicit declaration of function 'memset'The error occurs due to missing a standard header file as <
linux/string.h> so that three .c files are included it.
Quoted 8 lines
Quoted 1 line
Signed-off-by Chaehyun Lim <[email protected]>You forgot to add a Reported-by: line giving credit to kbuild, I've done that by hand.
thanks,
greg k-h
I understood. I will keep it in my mind to send patch.
Regards
Chaehyun Lim