Hi Bean,

[auto build test ERROR on v4.5-rc2]
[also build test ERROR on next-20160201]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:    
https://github.com/0day-ci/linux/commits/Bean-Huo/Add-a-bakvol-module-in-UBI-layer-for-MLC-paired-page-power-loss-issue/20160202-104450
config: x86_64-randconfig-x012-201605 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   drivers/mtd/mtdpart.c: In function 'part_write_dual_plane_oob':
>> drivers/mtd/mtdpart.c:213:26: error: implicit declaration of function 'PART' 
>> [-Werror=implicit-function-declaration]
     struct mtd_part *part = PART(mtd);
                             ^
>> drivers/mtd/mtdpart.c:213:26: warning: initialization makes pointer from 
>> integer without a cast [-Wint-conversion]
   cc1: some warnings being treated as errors

vim +/PART +213 drivers/mtd/mtdpart.c

   207  }
   208  
   209  static int part_write_dual_plane_oob(struct mtd_info *mtd, loff_t 
to_plane0,
   210                              struct mtd_oob_ops *ops_plane0, loff_t 
to_plane1,
   211                              struct mtd_oob_ops *ops_plane1)
   212  {
 > 213          struct mtd_part *part = PART(mtd);
   214  
   215          if ((to_plane0 >= mtd->size) || ((to_plane1 >= mtd->size)))
   216                  return -EINVAL;

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

Attachment: .config.gz
Description: Binary data

Reply via email to