[pci:pci/host-rockchip 16/17] drivers/pci/host/pcie-rockchip.c:224:2: error: implicit declaration of function 'rockchip_pcie_writel'

[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 pci/host-rockchip
head:   bddce71abc8cfc0f8e2923265af9e717070f45a8
commit: 22e624c0ad4aa210d83584eb855080fb9b1267be [16/17] PCI: rockchip: Swap order of rockchip_writel() reg/val arguments
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 22e624c0ad4aa210d83584eb855080fb9b1267be
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/pci/host/pcie-rockchip.c: In function 'rockchip_pcie_enable_bw_int':
>> drivers/pci/host/pcie-rockchip.c:224:2: error: implicit declaration of function 'rockchip_pcie_writel' [-Werror=implicit-function-declaration]
     rockchip_pcie_writel(rockchip_pcie, PCIE_RC_CONFIG_LCS, status);
     ^~~~~~~~~~~~~~~~~~~~
   At top level:
   drivers/pci/host/pcie-rockchip.c:212:13: warning: 'rockchip_pcie_write' defined but not used [-Wunused-function]
    static void rockchip_pcie_write(struct rockchip_pcie *rockchip_pcie, u32 reg,
                ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/rockchip_pcie_writel +224 drivers/pci/host/pcie-rockchip.c

   218	static void rockchip_pcie_enable_bw_int(struct rockchip_pcie *rockchip_pcie)
   219	{
   220		u32 status;
   221	
   222		status = rockchip_pcie_readl(rockchip_pcie, PCIE_RC_CONFIG_LCS);
   223		status |= (PCIE_RC_CONFIG_LCS_LBMIE | PCIE_RC_CONFIG_LCS_LABIE);
 > 224		rockchip_pcie_writel(rockchip_pcie, PCIE_RC_CONFIG_LCS, status);
   225	}
   226	
   227	static void rockchip_pcie_clr_bw_int(struct rockchip_pcie *rockchip_pcie)

---
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