tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-qcom head: 991cdabdef8271eb5cf7e285f7bf20d86f615683 commit: fc973223b540aed88180e1c7fe46cd2a35fea621 [19/21] PCI: qcom: Remove redundant struct qcom_pcie.dev config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout fc973223b540aed88180e1c7fe46cd2a35fea621 # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): drivers/pci/host/pcie-qcom.c: In function 'qcom_pcie_probe': >> drivers/pci/host/pcie-qcom.c:512:11: error: 'struct qcom_pcie' has no member named 'dev' qcom_pcie->dev = dev; ^~ vim +512 drivers/pci/host/pcie-qcom.c 4506dd0b Bjorn Helgaas 2016-10-06 506 qcom_pcie = devm_kzalloc(dev, sizeof(*qcom_pcie), GFP_KERNEL); 4506dd0b Bjorn Helgaas 2016-10-06 507 if (!qcom_pcie) 82a82383 Stanimir Varbanov 2015-12-18 508 return -ENOMEM; 82a82383 Stanimir Varbanov 2015-12-18 509 b3d8ad30 Bjorn Helgaas 2016-10-06 510 pp = &qcom_pcie->pp; 4506dd0b Bjorn Helgaas 2016-10-06 511 qcom_pcie->ops = (struct qcom_pcie_ops *)of_device_get_match_data(dev); 4506dd0b Bjorn Helgaas 2016-10-06 @512 qcom_pcie->dev = dev; 82a82383 Stanimir Varbanov 2015-12-18 513 4506dd0b Bjorn Helgaas 2016-10-06 514 qcom_pcie->reset = devm_gpiod_get_optional(dev, "perst", GPIOD_OUT_LOW); 4506dd0b Bjorn Helgaas 2016-10-06 515 if (IS_ERR(qcom_pcie->reset)) :::::: The code at line 512 was first introduced by commit :::::: 4506dd0b7e77886012e05c2dd31ac910f9f0141c PCI: qcom: Name private struct pointer "qcom_pcie" consistently :::::: TO: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> :::::: CC: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip