From: kernel test robot <lkp@intel.com>
To: Vijayanand Jitta <vijayanand.jitta@oss.qualcomm.com>,
robin.murphy@arm.com, will@kernel.org, joro@8bytes.org,
robh@kernel.org, dmitry.baryshkov@oss.qualcomm.com,
konrad.dybcio@oss.qualcomm.com, bjorn.andersson@oss.qualcomm.com,
bod@kernel.org, conor+dt@kernel.org, krzk+dt@kernel.org,
saravanak@google.com, prakash.gupta@oss.qualcomm.com,
vikash.garodia@oss.qualcomm.com
Cc: oe-kbuild-all@lists.linux.dev, iommu@lists.linux.dev,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
Charan Teja Kalla <charan.kalla@oss.qualcomm.com>,
Vijayanand Jitta <vijayanand.jitta@oss.qualcomm.com>
Subject: Re: [PATCH v4 2/3] of: factor arguments passed to of_map_id() into a struct
Date: Tue, 6 Jan 2026 21:58:53 +0800 [thread overview]
Message-ID: <202601062128.BCmw1wNO-lkp@intel.com> (raw)
In-Reply-To: <20251231114257.2382820-3-vijayanand.jitta@oss.qualcomm.com>
Hi Vijayanand,
kernel test robot noticed the following build warnings:
[auto build test WARNING on xen-tip/linux-next]
[cannot apply to robh/for-next pci/next pci/for-linus linus/master v6.19-rc4 next-20260106]
[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/Vijayanand-Jitta/of-Add-convenience-wrappers-for-of_map_id/20251231-194928
base: https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git linux-next
patch link: https://lore.kernel.org/r/20251231114257.2382820-3-vijayanand.jitta%40oss.qualcomm.com
patch subject: [PATCH v4 2/3] of: factor arguments passed to of_map_id() into a struct
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20260106/202601062128.BCmw1wNO-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260106/202601062128.BCmw1wNO-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/202601062128.BCmw1wNO-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/cdx/cdx_msi.c:8:
In function 'of_map_msi_id',
inlined from 'cdx_msi_prepare' at drivers/cdx/cdx_msi.c:131:8:
>> include/linux/of.h:1451:30: warning: 'dev_id' is used uninitialized [-Wuninitialized]
1451 | struct of_map_id_arg arg = {
| ^~~
drivers/cdx/cdx_msi.c: In function 'cdx_msi_prepare':
drivers/cdx/cdx_msi.c:127:13: note: 'dev_id' was declared here
127 | u32 dev_id;
| ^~~~~~
--
drivers/pci/controller/dwc/pci-imx6.c: In function 'imx_pcie_add_lut_by_rid':
>> drivers/pci/controller/dwc/pci-imx6.c:1112:30: warning: 'sid_i' is used uninitialized [-Wuninitialized]
1112 | arg.map_args.args[0] = sid_i;
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
drivers/pci/controller/dwc/pci-imx6.c:1105:13: note: 'sid_i' was declared here
1105 | u32 sid_i, sid_m;
| ^~~~~
>> drivers/pci/controller/dwc/pci-imx6.c:1126:17: warning: 'sid_m' is used uninitialized [-Wuninitialized]
1126 | err_m = of_map_msi_id(dev->of_node, rid, &target, &sid_m);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/pci/controller/dwc/pci-imx6.c:1105:20: note: 'sid_m' was declared here
1105 | u32 sid_i, sid_m;
| ^~~~~
vim +/dev_id +1451 include/linux/of.h
1447
1448 static inline int of_map_msi_id(const struct device_node *np, u32 id,
1449 struct device_node **target, u32 *id_out)
1450 {
> 1451 struct of_map_id_arg arg = {
1452 .map_args = {
1453 .np = *target,
1454 .args_count = 1,
1455 .args = { *id_out },
1456 },
1457 };
1458
1459 return of_map_id(np, id, "msi-map", "msi-map-mask", &arg);
1460 }
1461
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-01-06 13:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-31 11:42 [PATCH v4 0/3] of: parsing of multi #{iommu,msi}-cells in maps Vijayanand Jitta
2025-12-31 11:42 ` [PATCH v4 1/3] of: Add convenience wrappers for of_map_id() Vijayanand Jitta
2025-12-31 11:42 ` [PATCH v4 2/3] of: factor arguments passed to of_map_id() into a struct Vijayanand Jitta
2026-01-06 13:58 ` kernel test robot [this message]
2025-12-31 11:42 ` [PATCH v4 3/3] of: Respect #{iommu,msi}-cells in maps Vijayanand Jitta
2026-01-07 5:31 ` Vijayanand Jitta
2026-01-07 11:00 ` Konrad Dybcio
2026-01-18 18:15 ` Vijayanand Jitta
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=202601062128.BCmw1wNO-lkp@intel.com \
--to=lkp@intel.com \
--cc=bjorn.andersson@oss.qualcomm.com \
--cc=bod@kernel.org \
--cc=charan.kalla@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=prakash.gupta@oss.qualcomm.com \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=saravanak@google.com \
--cc=vijayanand.jitta@oss.qualcomm.com \
--cc=vikash.garodia@oss.qualcomm.com \
--cc=will@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox