Hi Srikanth,

[auto build test ERROR on cryptodev/master]
[also build test ERROR on next-20170510]
[cannot apply to v4.11]
[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/Srikanth-Jampala/crypto-cavium-Add-support-for-CNN55XX-adapters/20170510-211638
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: i386-defconfig (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/crypto/cavium/nitrox/nitrox_main.c:10:0:
   drivers/crypto/cavium/nitrox/nitrox_dev.h: In function 'nitrox_read_csr':
>> drivers/crypto/cavium/nitrox/nitrox_dev.h:156:9: error: implicit declaration 
>> of function 'readq' [-Werror=implicit-function-declaration]
     return readq(ndev->bar_addr + offset);
            ^~~~~
   drivers/crypto/cavium/nitrox/nitrox_dev.h: In function 'nitrox_write_csr':
>> drivers/crypto/cavium/nitrox/nitrox_dev.h:168:2: error: implicit declaration 
>> of function 'writeq' [-Werror=implicit-function-declaration]
     writeq(value, (ndev->bar_addr + offset));
     ^~~~~~
   cc1: some warnings being treated as errors
--
   In file included from drivers/crypto/cavium/nitrox/nitrox_hal.c:3:0:
   drivers/crypto/cavium/nitrox/nitrox_dev.h: In function 'nitrox_read_csr':
>> drivers/crypto/cavium/nitrox/nitrox_dev.h:156:9: error: implicit declaration 
>> of function 'readq' [-Werror=implicit-function-declaration]
     return readq(ndev->bar_addr + offset);
            ^~~~~
   drivers/crypto/cavium/nitrox/nitrox_dev.h: In function 'nitrox_write_csr':
>> drivers/crypto/cavium/nitrox/nitrox_dev.h:168:2: error: implicit declaration 
>> of function 'writeq' [-Werror=implicit-function-declaration]
     writeq(value, (ndev->bar_addr + offset));
     ^~~~~~
   drivers/crypto/cavium/nitrox/nitrox_hal.c: In function 
'nitrox_config_pkt_input_rings':
   drivers/crypto/cavium/nitrox/nitrox_hal.c:120:23: warning: unused variable 
'cmdq' [-Wunused-variable]
      struct nitrox_cmdq *cmdq = &ndev->pkt_cmdqs[i];
                          ^~~~
   cc1: some warnings being treated as errors

vim +/readq +156 drivers/crypto/cavium/nitrox/nitrox_dev.h

   150   * @offset: offset of the register to read
   151   *
   152   * Returns: value read
   153   */
   154  static inline u64 nitrox_read_csr(struct nitrox_device *ndev, u64 
offset)
   155  {
 > 156          return readq(ndev->bar_addr + offset);
   157  }
   158  
   159  /**
   160   * nitrox_write_csr - Write to device register
   161   * @ndev: NITROX device
   162   * @offset: offset of the register to write
   163   * @value: value to write
   164   */
   165  static inline void nitrox_write_csr(struct nitrox_device *ndev, u64 
offset,
   166                                      u64 value)
   167  {
 > 168          writeq(value, (ndev->bar_addr + offset));
   169  }
   170  
   171  static inline int nitrox_in_use(struct nitrox_device *ndev)

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

Attachment: .config.gz
Description: application/gzip

Reply via email to