Re: [PATCH] pci: Update VPD size with correct length

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hannes,

[auto build test ERROR on pci/next]
[also build test ERROR on v4.4-rc5 next-20151216]

url:    https://github.com/0day-ci/linux/commits/Hannes-Reinecke/pci-Update-VPD-size-with-correct-length/20151216-183013
base:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: x86_64-randconfig-x011-12141150 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/pci/access.c: In function 'pci_vpd_pci22_size':
>> drivers/pci/access.c:510:4: error: implicit declaration of function 'dev_debug' [-Werror=implicit-function-declaration]
       dev_debug(&dev->dev,
       ^
   cc1: some warnings being treated as errors

vim +/dev_debug +510 drivers/pci/access.c

   504				off += 1 + (header[0] & 0x07);
   505				tag = (header[0] & 0x78) >> 3;
   506			}
   507			if (tag == 0x0f)	/* End tag descriptor */
   508				break;
   509			if ((tag != 0x02) && (tag != 0x10) && (tag != 0x11)) {
 > 510				dev_debug(&dev->dev,
   511					   "invalid %s vpd tag %02x at offset %zu.",
   512					   header[0] & 0x80 ? "large" : "short",
   513					   tag, off);

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux