Hi LABBE,

[auto build test ERROR on: char-misc/char-misc-next]
[also build test ERROR on: v4.3 next-20151105]

url:    
https://github.com/0day-ci/linux/commits/LABBE-Corentin/char-nvram-set-array-of-const-as-const/20151105-174316
config: x86_64-lkp (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/char/nvram.c: In function 'nvram_init':
>> drivers/char/nvram.c:457:3: error: implicit declaration of function 
>> 'pri_err' [-Werror=implicit-function-declaration]
      pri_err("nvram: can't create /proc/driver/nvram\n");
      ^
   cc1: some warnings being treated as errors

vim +/pri_err +457 drivers/char/nvram.c

   451          if (ret) {
   452                  pr_err("nvram: can't misc_register on minor=%d\n", 
NVRAM_MINOR);
   453                  goto out;
   454          }
   455          ret = nvram_add_proc_fs();
   456          if (ret) {
 > 457                  pri_err("nvram: can't create /proc/driver/nvram\n");
   458                  goto outmisc;
   459          }
   460          ret = 0;

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