From: kernel test robot <lkp@intel.com>
To: "Herve Codina (Schneider Electric)" <herve.codina@bootlin.com>,
Wolfram Sang <wsa-dev@sang-engineering.com>,
Hoan Tran <hoan@os.amperecomputing.com>,
Linus Walleij <linus.walleij@linaro.org>,
Bartosz Golaszewski <brgl@bgdev.pl>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
Saravana Kannan <saravanak@google.com>,
Serge Semin <fancer.lancer@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Phil Edworthy <phil.edworthy@renesas.com>,
linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
Pascal Eberhard <pascal.eberhard@se.com>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH v2 3/8] of/irq: Introduce for_each_of_imap_item
Date: Thu, 11 Sep 2025 04:38:15 +0800 [thread overview]
Message-ID: <202509110402.OHHgtxRA-lkp@intel.com> (raw)
In-Reply-To: <20250909120041.154459-4-herve.codina@bootlin.com>
Hi Herve,
kernel test robot noticed the following build warnings:
[auto build test WARNING on robh/for-next]
[also build test WARNING on tip/irq/core linus/master v6.17-rc5 next-20250910]
[cannot apply to geert-renesas-devel/next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Herve-Codina-Schneider-Electric/ARM-dts-r9a06g032-Add-GPIO-controllers/20250909-200642
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20250909120041.154459-4-herve.codina%40bootlin.com
patch subject: [PATCH v2 3/8] of/irq: Introduce for_each_of_imap_item
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20250911/202509110402.OHHgtxRA-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250911/202509110402.OHHgtxRA-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/202509110402.OHHgtxRA-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/base/platform.c:15:
>> include/linux/of_irq.h:123:29: warning: no previous prototype for function 'of_imap_parser_one' [-Wmissing-prototypes]
123 | extern struct of_imap_item *of_imap_parser_one(struct of_imap_parser *parser,
| ^
include/linux/of_irq.h:123:8: note: declare 'static' if the function is not intended to be used outside of this translation unit
123 | extern struct of_imap_item *of_imap_parser_one(struct of_imap_parser *parser,
| ^
1 warning generated.
vim +/of_imap_parser_one +123 include/linux/of_irq.h
58
59 extern int of_irq_parse_raw(const __be32 *addr, struct of_phandle_args *out_irq);
60 extern unsigned int irq_create_of_mapping(struct of_phandle_args *irq_data);
61 extern int of_irq_to_resource(struct device_node *dev, int index,
62 struct resource *r);
63
64 #ifdef CONFIG_OF_IRQ
65 extern void of_irq_init(const struct of_device_id *matches);
66 extern int of_irq_parse_one(struct device_node *device, int index,
67 struct of_phandle_args *out_irq);
68 extern int of_irq_count(struct device_node *dev);
69 extern int of_irq_get(struct device_node *dev, int index);
70 extern int of_irq_get_byname(struct device_node *dev, const char *name);
71 extern int of_irq_to_resource_table(struct device_node *dev,
72 struct resource *res, int nr_irqs);
73 extern struct device_node *of_irq_find_parent(struct device_node *child);
74 extern int of_imap_parser_init(struct of_imap_parser *parser,
75 struct device_node *node,
76 struct of_imap_item *item);
77 extern struct of_imap_item *of_imap_parser_one(struct of_imap_parser *parser,
78 struct of_imap_item *item);
79 extern struct irq_domain *of_msi_get_domain(struct device *dev,
80 const struct device_node *np,
81 enum irq_domain_bus_token token);
82 extern struct irq_domain *of_msi_map_get_device_domain(struct device *dev,
83 u32 id,
84 u32 bus_token);
85 extern void of_msi_configure(struct device *dev, const struct device_node *np);
86 extern u32 of_msi_xlate(struct device *dev, struct device_node **msi_np, u32 id_in);
87 #else
88 static inline void of_irq_init(const struct of_device_id *matches)
89 {
90 }
91 static inline int of_irq_parse_one(struct device_node *device, int index,
92 struct of_phandle_args *out_irq)
93 {
94 return -EINVAL;
95 }
96 static inline int of_irq_count(struct device_node *dev)
97 {
98 return 0;
99 }
100 static inline int of_irq_get(struct device_node *dev, int index)
101 {
102 return 0;
103 }
104 static inline int of_irq_get_byname(struct device_node *dev, const char *name)
105 {
106 return 0;
107 }
108 static inline int of_irq_to_resource_table(struct device_node *dev,
109 struct resource *res, int nr_irqs)
110 {
111 return 0;
112 }
113 static inline void *of_irq_find_parent(struct device_node *child)
114 {
115 return NULL;
116 }
117 static inline int of_imap_parser_init(struct of_imap_parser *parser,
118 struct device_node *node,
119 struct of_imap_item *item)
120 {
121 return -ENOSYS;
122 }
> 123 extern struct of_imap_item *of_imap_parser_one(struct of_imap_parser *parser,
124 struct of_imap_item *item)
125 {
126 return NULL;
127 }
128 static inline struct irq_domain *of_msi_get_domain(struct device *dev,
129 struct device_node *np,
130 enum irq_domain_bus_token token)
131 {
132 return NULL;
133 }
134 static inline struct irq_domain *of_msi_map_get_device_domain(struct device *dev,
135 u32 id, u32 bus_token)
136 {
137 return NULL;
138 }
139 static inline void of_msi_configure(struct device *dev, struct device_node *np)
140 {
141 }
142 static inline u32 of_msi_xlate(struct device *dev, struct device_node **msi_np, u32 id_in)
143 {
144 return id_in;
145 }
146 #endif
147
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-09-10 20:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-09 12:00 [PATCH v2 0/8] gpio: renesas: Add support for GPIO and related interrupts in RZ/N1 SoC Herve Codina (Schneider Electric)
2025-09-09 12:00 ` [PATCH v2 1/8] ARM: dts: r9a06g032: Add GPIO controllers Herve Codina (Schneider Electric)
2025-09-10 11:17 ` Wolfram Sang
2025-09-09 12:00 ` [PATCH v2 2/8] dt-bindings: soc: renesas: Add the Renesas RZ/N1 GPIO Interrupt Multiplexer Herve Codina (Schneider Electric)
2025-09-10 14:33 ` Rob Herring
2025-09-11 7:43 ` Herve Codina
2025-09-09 12:00 ` [PATCH v2 3/8] of/irq: Introduce for_each_of_imap_item Herve Codina (Schneider Electric)
2025-09-10 10:33 ` kernel test robot
2025-09-10 20:38 ` kernel test robot [this message]
2025-09-09 12:00 ` [PATCH v2 4/8] of: unittest: Add a test case for for_each_of_imap_item iterator Herve Codina (Schneider Electric)
2025-09-09 12:00 ` [PATCH v2 5/8] irqchip/ls-extirq: Use " Herve Codina (Schneider Electric)
2025-09-09 12:00 ` [PATCH v2 6/8] irqchip/renesas-rza1: " Herve Codina (Schneider Electric)
2025-09-09 12:00 ` [PATCH v2 7/8] soc: renesas: Add support for Renesas RZ/N1 GPIO Interrupt Multiplexer Herve Codina (Schneider Electric)
2025-09-09 12:00 ` [PATCH v2 8/8] ARM: dts: r9a06g032: Add support for GPIO interrupts Herve Codina (Schneider Electric)
2025-09-09 20:51 ` [PATCH v2 0/8] gpio: renesas: Add support for GPIO and related interrupts in RZ/N1 SoC Thomas Gleixner
2025-09-09 20:54 ` Thomas Gleixner
2025-09-11 7:04 ` Herve Codina
2025-09-11 13:52 ` Thomas Gleixner
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=202509110402.OHHgtxRA-lkp@intel.com \
--to=lkp@intel.com \
--cc=brgl@bgdev.pl \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fancer.lancer@gmail.com \
--cc=geert+renesas@glider.be \
--cc=herve.codina@bootlin.com \
--cc=hoan@os.amperecomputing.com \
--cc=krzk@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=magnus.damm@gmail.com \
--cc=miquel.raynal@bootlin.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pascal.eberhard@se.com \
--cc=phil.edworthy@renesas.com \
--cc=robh@kernel.org \
--cc=saravanak@google.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=wsa-dev@sang-engineering.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®