lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202110111756.j8Eqp8st-lkp@intel.com>
Date:   Mon, 11 Oct 2021 17:10:04 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kishon Vijay Abraham I <kishon@...com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Vignesh Raghavendra <vigneshr@...com>
Subject: [ti:ti-rt-linux-5.10.y 4414/9998]
 drivers/pci/controller/dwc/pci-keystone.c:299:6: warning: no previous
 prototype for function 'ks_pcie_irq_eoi'

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.10.y
head:   7ff055c5f01acc96255948cdd632c72fd78a1f72
commit: f765f578153d8bfc7a035b1fce2c09d2c41bd980 [4414/9998] PCI: keystone: Convert to using hierarchy domain for legacy interrupts
config: arm-randconfig-r024-20211011 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f95d9c95bbf4cf662b9a181245fc6dcede39f590)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
        git fetch --no-tags ti ti-rt-linux-5.10.y
        git checkout f765f578153d8bfc7a035b1fce2c09d2c41bd980
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> drivers/pci/controller/dwc/pci-keystone.c:299:6: warning: no previous prototype for function 'ks_pcie_irq_eoi' [-Wmissing-prototypes]
   void ks_pcie_irq_eoi(struct irq_data *data)
        ^
   drivers/pci/controller/dwc/pci-keystone.c:299:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void ks_pcie_irq_eoi(struct irq_data *data)
   ^
   static 
>> drivers/pci/controller/dwc/pci-keystone.c:308:6: warning: no previous prototype for function 'ks_pcie_irq_enable' [-Wmissing-prototypes]
   void ks_pcie_irq_enable(struct irq_data *data)
        ^
   drivers/pci/controller/dwc/pci-keystone.c:308:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void ks_pcie_irq_enable(struct irq_data *data)
   ^
   static 
>> drivers/pci/controller/dwc/pci-keystone.c:317:6: warning: no previous prototype for function 'ks_pcie_irq_disable' [-Wmissing-prototypes]
   void ks_pcie_irq_disable(struct irq_data *data)
        ^
   drivers/pci/controller/dwc/pci-keystone.c:317:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void ks_pcie_irq_disable(struct irq_data *data)
   ^
   static 
   3 warnings generated.


vim +/ks_pcie_irq_eoi +299 drivers/pci/controller/dwc/pci-keystone.c

   298	
 > 299	void ks_pcie_irq_eoi(struct irq_data *data)
   300	{
   301		struct keystone_pcie *ks_pcie = irq_data_get_irq_chip_data(data);
   302		irq_hw_number_t hwirq = data->hwirq;
   303	
   304		ks_pcie_app_writel(ks_pcie, IRQ_EOI, hwirq);
   305		irq_chip_eoi_parent(data);
   306	}
   307	
 > 308	void ks_pcie_irq_enable(struct irq_data *data)
   309	{
   310		struct keystone_pcie *ks_pcie = irq_data_get_irq_chip_data(data);
   311		irq_hw_number_t hwirq = data->hwirq;
   312	
   313		ks_pcie_app_writel(ks_pcie, IRQ_ENABLE_SET(hwirq), INTx_EN);
   314		irq_chip_enable_parent(data);
   315	}
   316	
 > 317	void ks_pcie_irq_disable(struct irq_data *data)
   318	{
   319		struct keystone_pcie *ks_pcie = irq_data_get_irq_chip_data(data);
   320		irq_hw_number_t hwirq = data->hwirq;
   321	
   322		ks_pcie_app_writel(ks_pcie, IRQ_ENABLE_CLR(hwirq), INTx_EN);
   323		irq_chip_disable_parent(data);
   324	}
   325	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (43084 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ