All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [ti:ti-rt-linux-5.10.y 1799/9956] drivers/pci/controller/dwc/pci-keystone.c:299:6: warning: no previous prototype for 'ks_pcie_irq_eoi'
Date: Tue, 04 Jan 2022 15:10:36 +0800	[thread overview]
Message-ID: <202201041503.3YAsWJDA-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3131 bytes --]

Hi Kishon,

FYI, the error/warning still remains.

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.10.y
head:   8681404176ca3a84a8ada5135ca4046ef86b06e8
commit: f765f578153d8bfc7a035b1fce2c09d2c41bd980 [1799/9956] PCI: keystone: Convert to using hierarchy domain for legacy interrupts
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220104/202201041503.3YAsWJDA-lkp(a)intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
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
        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 config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpu/drm/omapdrm/ drivers/media/platform/ drivers/net/ethernet/ti/ drivers/pci/controller/dwc/

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

All warnings (new ones prefixed by >>):

>> drivers/pci/controller/dwc/pci-keystone.c:299:6: warning: no previous prototype for 'ks_pcie_irq_eoi' [-Wmissing-prototypes]
     299 | void ks_pcie_irq_eoi(struct irq_data *data)
         |      ^~~~~~~~~~~~~~~
>> drivers/pci/controller/dwc/pci-keystone.c:308:6: warning: no previous prototype for 'ks_pcie_irq_enable' [-Wmissing-prototypes]
     308 | void ks_pcie_irq_enable(struct irq_data *data)
         |      ^~~~~~~~~~~~~~~~~~
>> drivers/pci/controller/dwc/pci-keystone.c:317:6: warning: no previous prototype for 'ks_pcie_irq_disable' [-Wmissing-prototypes]
     317 | void ks_pcie_irq_disable(struct irq_data *data)
         |      ^~~~~~~~~~~~~~~~~~~


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(a)lists.01.org

                 reply	other threads:[~2022-01-04  7:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202201041503.3YAsWJDA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.