tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
staging-testing
head:   2a38ef60ef4ffe135566d1b8acc197b803c48ec1
commit: 94b9eba50e3ad6fafe88d71da4a7345ebe87cdfb [998/1004] staging: i4l: 
act2000: Replace printk(KERN_WARNING..) with netdev_warn(dev, ..)
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 94b9eba50e3ad6fafe88d71da4a7345ebe87cdfb
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/staging/i4l/act2000/act2000_isa.c: In function 
'act2000_isa_interrupt':
>> drivers/staging/i4l/act2000/act2000_isa.c:81:3: error: implicit declaration 
>> of function 'netdev_warn' [-Werror=implicit-function-declaration]
      netdev_warn(dev, "act2000: errIRQ\n");
      ^~~~~~~~~~~
>> drivers/staging/i4l/act2000/act2000_isa.c:81:15: error: 'dev' undeclared 
>> (first use in this function)
      netdev_warn(dev, "act2000: errIRQ\n");
                  ^~~
   drivers/staging/i4l/act2000/act2000_isa.c:81:15: note: each undeclared 
identifier is reported only once for each function it appears in
   drivers/staging/i4l/act2000/act2000_isa.c: In function 
'act2000_isa_config_irq':
   drivers/staging/i4l/act2000/act2000_isa.c:150:15: error: 'dev' undeclared 
(first use in this function)
      netdev_warn(dev, "act2000: Could not request irq %d\n", irq);
                  ^~~
   drivers/staging/i4l/act2000/act2000_isa.c: In function 'act2000_isa_receive':
   drivers/staging/i4l/act2000/act2000_isa.c:248:19: error: 'dev' undeclared 
(first use in this function)
          netdev_warn(dev, "act2000_isa_receive: no memory\n");
                      ^~~
   drivers/staging/i4l/act2000/act2000_isa.c: In function 'act2000_isa_getid':
   drivers/staging/i4l/act2000/act2000_isa.c:370:15: error: 'dev' undeclared 
(first use in this function)
      netdev_warn(dev, "act2000: No Firmware-ID!\n");
                  ^~~
   drivers/staging/i4l/act2000/act2000_isa.c: In function 
'act2000_isa_download':
   drivers/staging/i4l/act2000/act2000_isa.c:426:17: error: 'dev' undeclared 
(first use in this function)
        netdev_warn(dev,
                    ^~~
   cc1: some warnings being treated as errors

vim +/netdev_warn +81 drivers/staging/i4l/act2000/act2000_isa.c

    75                  act2000_isa_receive(card);
    76                  outb(ISA_SIS_INT, ISA_PORT_SIS);
    77          }
    78          if (istatus & ISA_ISR_ERR) {
    79                  /* Error Interrupt */
    80                  istatus &= ISA_ISR_ERR_MASK;
  > 81                  netdev_warn(dev, "act2000: errIRQ\n");
    82          }
    83          if (istatus)
    84                  printk(KERN_DEBUG "act2000: ?IRQ %d %02x\n", card->irq, 
istatus);

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to