lkml.org 
[lkml]   [2015]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] char/nvram: fix style issues
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
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2015-11-05 12:21    [W:0.086 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site