All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, llvm@lists.linux.dev
Subject: [dakr:nova/irq 17/33] rust/helpers/pci.c:37:9: error: call to undeclared function 'pci_irq_type'; ISO C99 and later do not support implicit function declarations
Date: Mon, 17 Aug 2026 23:27:40 +0800	[thread overview]
Message-ID: <202608172313.aWAREqgm-lkp@intel.com> (raw)

TO: Danilo Krummrich <dakr@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dakr/linux.git nova/irq
head:   63c0231684920d3d7e0141796b199ba5de8f2ecc
commit: b511b9e0001c87ee7f7e478b1e7064a6b08536bc [17/33] rust: pci: expose the allocated interrupt type
config: um-randconfig-001-20260817 (https://download.01.org/0day-ci/archive/20260817/202608172313.aWAREqgm-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 844a18e753e822736c9805ab779144b647a2c186)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260817/202608172313.aWAREqgm-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608172313.aWAREqgm-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from rust/helpers/helpers.c:77:
>> rust/helpers/pci.c:37:9: error: call to undeclared function 'pci_irq_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   37 |         return pci_irq_type(pdev);
   |                ^
   rust/helpers/pci.c:37:9: note: did you mean 'pci_pcie_type'?
   include/linux/pci.h:2703:19: note: 'pci_pcie_type' declared here
   2703 | static inline int pci_pcie_type(const struct pci_dev *dev)
   |                   ^
   1 error generated.
   make[3]: *** [rust/Makefile:701: rust/helpers/helpers.o] Error 1 shuffle=2223888588
>> rust/helpers/pci.c:37:9: error: call to undeclared function 'pci_irq_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
>> Unable to generate bindings: clang diagnosed error: rust/helpers/pci.c:37:9: error: call to undeclared function 'pci_irq_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]


vim +/pci_irq_type +37 rust/helpers/pci.c

    34	
    35	__rust_helper unsigned int rust_helper_pci_irq_type(struct pci_dev *pdev)
    36	{
  > 37		return pci_irq_type(pdev);
    38	}
    39	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-08-17 15:28 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=202608172313.aWAREqgm-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.