Hi Paul,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc3 next-20170106]
[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/Paul-Gortmaker/nfc-don-t-be-making-arch-specific-unaligned-decisions-at-driver-level/20170109-082915
config: x86_64-randconfig-x014-201702 (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=x86_64 

All errors (new ones prefixed by >>):

   drivers/nfc/nxp-nci/i2c.c: In function 'nxp_nci_i2c_fw_read':
>> drivers/nfc/nxp-nci/i2c.c:129:15: error: implicit declaration of function 
>> 'get_unaligned_be16' [-Werror=implicit-function-declaration]
     frame_len = (get_unaligned_be16(&header) & NXP_NCI_FW_FRAME_LEN_MASK) +
                  ^~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/get_unaligned_be16 +129 drivers/nfc/nxp-nci/i2c.c

6be88670 Clément Perrochaud 2015-03-09  123     } else if (r != 
NXP_NCI_FW_HDR_LEN) {
6be88670 Clément Perrochaud 2015-03-09  124             nfc_err(&client->dev, 
"Incorrect header length: %u\n", r);
6be88670 Clément Perrochaud 2015-03-09  125             r = -EBADMSG;
6be88670 Clément Perrochaud 2015-03-09  126             goto fw_read_exit;
6be88670 Clément Perrochaud 2015-03-09  127     }
6be88670 Clément Perrochaud 2015-03-09  128  
6be88670 Clément Perrochaud 2015-03-09 @129     frame_len = 
(get_unaligned_be16(&header) & NXP_NCI_FW_FRAME_LEN_MASK) +
6be88670 Clément Perrochaud 2015-03-09  130                 NXP_NCI_FW_CRC_LEN;
6be88670 Clément Perrochaud 2015-03-09  131  
6be88670 Clément Perrochaud 2015-03-09  132     *skb = 
alloc_skb(NXP_NCI_FW_HDR_LEN + frame_len, GFP_KERNEL);

:::::: The code at line 129 was first introduced by commit
:::::: 6be88670fc59d50426f90f734a36b90e1de7d148 NFC: nxp-nci_i2c: Add I2C 
support to NXP NCI driver

:::::: TO: Clément Perrochaud <clement.perroch...@nxp.com>
:::::: CC: Samuel Ortiz <sa...@linux.intel.com>

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