[pci:v4.13-merge 1/1] drivers/nvme/host/pci.c:2313:19: error: 'dev' undeclared

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git v4.13-merge
head:   085f0ab39ee7e4c607b61e0aa312b39e2c4b931f
commit: 085f0ab39ee7e4c607b61e0aa312b39e2c4b931f [1/1] Merge tag 'pci-v4.13-changes' into test-merge2
config: x86_64-randconfig-x001-201727 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 085f0ab39ee7e4c607b61e0aa312b39e2c4b931f
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/nvme/host/pci.c: In function 'nvme_reset_done':
>> drivers/nvme/host/pci.c:2313:19: error: 'dev' undeclared (first use in this function)
     nvme_reset_ctrl(&dev->ctrl);
                      ^~~
   drivers/nvme/host/pci.c:2313:19: note: each undeclared identifier is reported only once for each function it appears in

vim +/dev +2313 drivers/nvme/host/pci.c

f0d54a54 drivers/block/nvme-core.c Keith Busch       2014-05-02  2307  {
775755ed drivers/nvme/host/pci.c   Christoph Hellwig 2017-06-01  2308  	nvme_dev_disable(pci_get_drvdata(pdev), false);
775755ed drivers/nvme/host/pci.c   Christoph Hellwig 2017-06-01  2309  }
f0d54a54 drivers/block/nvme-core.c Keith Busch       2014-05-02  2310  
775755ed drivers/nvme/host/pci.c   Christoph Hellwig 2017-06-01  2311  static void nvme_reset_done(struct pci_dev *pdev)
775755ed drivers/nvme/host/pci.c   Christoph Hellwig 2017-06-01  2312  {
d86c4d8e drivers/nvme/host/pci.c   Christoph Hellwig 2017-06-15 @2313  	nvme_reset_ctrl(&dev->ctrl);
f0d54a54 drivers/block/nvme-core.c Keith Busch       2014-05-02  2314  }
f0d54a54 drivers/block/nvme-core.c Keith Busch       2014-05-02  2315  
09ece142 drivers/block/nvme-core.c Keith Busch       2014-01-27  2316  static void nvme_shutdown(struct pci_dev *pdev)

:::::: The code at line 2313 was first introduced by commit
:::::: d86c4d8ef31b3d99c681c859cb4e936dafc2d7a4 nvme: move reset workqueue handling to common code

:::::: TO: Christoph Hellwig <hch@xxxxxx>
:::::: CC: Christoph Hellwig <hch@xxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[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