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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 30, 2015 at 05:13:43PM +0900, Chaehyun Lim wrote:
> On Wed, Sep 30, 2015 at 3:01 PM, Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> 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>.

Yes.

> 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?

Don't worry about trying to build arches like this, if you include the
.h file, it should work just fine.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux