Hi Andrey,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.14-rc8]
[cannot apply to next-20171110]
[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/Andrey-Smirnov/ZII-RAVE-platform-driver/20171112-215306
config: blackfin-allyesconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 6.2.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

All errors (new ones prefixed by >>):

   drivers/mfd/rave-sp.c: In function 'csum_ccitt':
>> drivers/mfd/rave-sp.c:237:25: error: implicit declaration of function 
>> 'crc_ccitt_false' [-Werror=implicit-function-declaration]
     const u16 calculated = crc_ccitt_false(0xffff, buf, size);
                            ^~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/crc_ccitt_false +237 drivers/mfd/rave-sp.c

   234  
   235  static void csum_ccitt(const u8 *buf, size_t size, u8 *crc)
   236  {
 > 237          const u16 calculated = crc_ccitt_false(0xffff, buf, size);
   238  
   239          /*
   240           * While the rest of the wire protocol is little-endian,
   241           * CCITT-16 CRC in RDU2 device is sent out in big-endian order.
   242           */
   243          put_unaligned_be16(calculated, crc);
   244  }
   245  

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