Re: [PATCH] staging: slicoss: fix different address space warnings

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

 



Hi Sergio,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.9-rc5 next-20161115]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Sergio-Paracuellos/staging-slicoss-fix-different-address-space-warnings/20161116-025006
config: i386-randconfig-x003-201646 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from drivers/staging/slicoss/slicoss.c:97:0:
   drivers/staging/slicoss/slicoss.c: In function 'slic_upr_request_complete':
>> drivers/staging/slicoss/slicoss.c:1019:5: error: implicit declaration of function 'ioread64' [-Werror=implicit-function-declaration]
        ioread64(&stats->xmit_tcp_segs),
        ^
   drivers/staging/slicoss/slic.h:560:19: note: in definition of macro 'UPDATE_STATS_GB'
     (largestat) += ((newstat) - (oldstat));                          \
                      ^~~~~~~
   cc1: some warnings being treated as errors

vim +/ioread64 +1019 drivers/staging/slicoss/slicoss.c

  1013				dev_err(&adapter->netdev->dev,
  1014					"SLIC_UPR_STATS command failed isr[%x]\n", isr);
  1015				break;
  1016			}
  1017	
  1018			UPDATE_STATS_GB(stst->tcp.xmit_tcp_segs,
> 1019					ioread64(&stats->xmit_tcp_segs),
  1020					old->xmit_tcp_segs);
  1021	
  1022			UPDATE_STATS_GB(stst->tcp.xmit_tcp_bytes,

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
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