[staging:staging-testing 959/962] drivers/staging/wilc1000/wilc_sdio.c:584:2: error: implicit declaration of function 'memset'

Chaehyun Lim chaehyun.lim at gmail.com
Wed Sep 30 08:13:43 UTC 2015


On Wed, Sep 30, 2015 at 3:01 PM, Greg Kroah-Hartman
<gregkh at linuxfoundation.org> wrote:
> On Wed, Sep 30, 2015 at 01:15:51PM +0800, kbuild test robot wrote:
>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
>> head:   7477929566b65f692b79974b784ee59e8b2b9f18
>> commit: e215a871255f9256de77e1b9c32b84d3a80122c1 [959/962] staging: wilc1000: remove wilc_platform include file
>> config: openrisc-allmodconfig (attached as .config)
>> reproduce:
>>   wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
>>   chmod +x ~/bin/make.cross
>>   git checkout e215a871255f9256de77e1b9c32b84d3a80122c1
>>   # save the attached .config to linux build tree
>>   make.cross ARCH=openrisc
>>
>> All error/warnings (new ones prefixed by >>):
>>
>>    drivers/staging/wilc1000/wilc_sdio.c: In function 'sdio_init':
>> >> drivers/staging/wilc1000/wilc_sdio.c:584:2: error: implicit declaration of function 'memset'
>> >> drivers/staging/wilc1000/wilc_sdio.c:584:2: warning: incompatible implicit declaration of built-in function 'memset'
>> --
>
> Chaehyun, can you send me a fix-up patch for this?
>
> thanks,
>
> greg k-h

Dear Greg

I'm sorry for the inconvenience of this error.
I assume this error occurs due to missing a standard header file as
<linux/string.h>.
While trying to compile with the following procedure suggested by
kbuild test robot, I got a new error so that
I cannot compilation is done.

make CROSS_COMPILE=/opt/gcc-4.5.1-nolibc/or32-linux/bin/or32-linux-
--jobs=16 ARCH=openrisc

rivers/vhost/vhost.c: In function 'vhost_vring_ioctl':
drivers/vhost/vhost.c:818:3: error: call to '__compiletime_assert_818'
declared with attribute error: BUILD_BUG_ON failed: __alignof__
*vq->avail > VRING_AVAIL_ALIGN_SIZE

Could you please show any guidance as compilation is completely done?

Regards
Chaehyun Lim


More information about the devel mailing list