mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Vijayanand Jitta" <vijayanand.jitta@oss.qualcomm.com>,
	"Nipun Gupta" <nipun.gupta@amd.com>,
	"Nikhil Agarwal" <nikhil.agarwal@amd.com>,
	"Joerg Roedel" <joro@8bytes.org>, "Will Deacon" <will@kernel.org>,
	"Robin Murphy" <robin.murphy@arm.com>,
	"Marc Zyngier" <maz@kernel.org>,
	"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
	"Thomas Gleixner" <tglx@kernel.org>,
	"Saravana Kannan" <saravanak@kernel.org>,
	"Richard Zhu" <hongxing.zhu@nxp.com>,
	"Lucas Stach" <l.stach@pengutronix.de>,
	"Krzysztof Wilczyński" <kwilczynski@kernel.org>,
	"Manivannan Sadhasivam" <mani@kernel.org>,
	"Bjorn Helgaas" <helgaas@kernel.org>,
	"Frank Li" <Frank.Li@nxp.com>,
	"Sascha Hauer" <s.hauer@pengutronix.de>,
	"Pengutronix Kernel Team" <kernel@pengutronix.de>,
	"Fabio Estevam" <festevam@gmail.com>,
	"Juergen Gross" <jgross@suse.com>,
	"Stefano Stabellini" <sstabellini@kernel.org>,
	"Oleksandr Tyshchenko" <oleksandr_tyshchenko@epam.com>,
	"Dmitry Baryshkov" <lumag@kernel.org>,
	"Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com>,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Krzysztof Kozlowski" <krzk@kernel.org>,
	"Prakash Gupta" <prakash.gupta@oss.qualcomm.com>,
	"Vikash Garodia" <vikash.garodia@oss.qualcomm.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v10 2/3] of: factor arguments passed to of_map_id() into a struct
Date: Tue, 10 Mar 2026 16:20:16 +0800	[thread overview]
Message-ID: <202603101641.aPJli6Zx-lkp@intel.com> (raw)
In-Reply-To: <20260309-parse_iommu_cells-v10-2-c62fcaa5a1d8@oss.qualcomm.com>

Hi Vijayanand,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 3fa5e5702a82d259897bd7e209469bc06368bf31]

url:    https://github.com/intel-lab-lkp/linux/commits/Vijayanand-Jitta/of-Add-convenience-wrappers-for-of_map_id/20260309-033633
base:   3fa5e5702a82d259897bd7e209469bc06368bf31
patch link:    https://lore.kernel.org/r/20260309-parse_iommu_cells-v10-2-c62fcaa5a1d8%40oss.qualcomm.com
patch subject: [PATCH v10 2/3] of: factor arguments passed to of_map_id() into a struct
config: i386-buildonly-randconfig-005-20260310 (https://download.01.org/0day-ci/archive/20260310/202603101641.aPJli6Zx-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260310/202603101641.aPJli6Zx-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/202603101641.aPJli6Zx-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/cdx/cdx_msi.c: In function 'cdx_msi_prepare':
>> drivers/cdx/cdx_msi.c:128:13: warning: variable 'dev_id' set but not used [-Wunused-but-set-variable]
     128 |         u32 dev_id;
         |             ^~~~~~


vim +/dev_id +128 drivers/cdx/cdx_msi.c

0e439ba38e615e Nipun Gupta       2024-02-26  119  
0e439ba38e615e Nipun Gupta       2024-02-26  120  static int cdx_msi_prepare(struct irq_domain *msi_domain,
0e439ba38e615e Nipun Gupta       2024-02-26  121  			   struct device *dev,
0e439ba38e615e Nipun Gupta       2024-02-26  122  			   int nvec, msi_alloc_info_t *info)
0e439ba38e615e Nipun Gupta       2024-02-26  123  {
ab5be96a55e45e Charan Teja Kalla 2026-03-09  124  	struct of_phandle_args msi_spec = { .np = NULL };
0e439ba38e615e Nipun Gupta       2024-02-26  125  	struct cdx_device *cdx_dev = to_cdx_device(dev);
0e439ba38e615e Nipun Gupta       2024-02-26  126  	struct device *parent = cdx_dev->cdx->dev;
0e439ba38e615e Nipun Gupta       2024-02-26  127  	struct msi_domain_info *msi_info;
0e439ba38e615e Nipun Gupta       2024-02-26 @128  	u32 dev_id;
0e439ba38e615e Nipun Gupta       2024-02-26  129  	int ret;
0e439ba38e615e Nipun Gupta       2024-02-26  130  
0e439ba38e615e Nipun Gupta       2024-02-26  131  	/* Retrieve device ID from requestor ID using parent device */
ab5be96a55e45e Charan Teja Kalla 2026-03-09  132  	ret = of_map_msi_id(parent->of_node, cdx_dev->msi_dev_id, &msi_spec);
0e439ba38e615e Nipun Gupta       2024-02-26  133  	if (ret) {
0e439ba38e615e Nipun Gupta       2024-02-26  134  		dev_err(dev, "of_map_id failed for MSI: %d\n", ret);
0e439ba38e615e Nipun Gupta       2024-02-26  135  		return ret;
0e439ba38e615e Nipun Gupta       2024-02-26  136  	}
ab5be96a55e45e Charan Teja Kalla 2026-03-09  137  	of_node_put(msi_spec.np);
ab5be96a55e45e Charan Teja Kalla 2026-03-09  138  	dev_id = msi_spec.args[0];
0e439ba38e615e Nipun Gupta       2024-02-26  139  

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

  parent reply	other threads:[~2026-03-10  8:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-08 19:33 [PATCH v10 0/3] of: parsing of multi #{iommu,msi}-cells in maps Vijayanand Jitta
2026-03-08 19:33 ` [PATCH v10 1/3] of: Add convenience wrappers for of_map_id() Vijayanand Jitta
2026-03-09 21:16   ` Dmitry Baryshkov
2026-03-12 11:40     ` Vijayanand Jitta
2026-03-08 19:33 ` [PATCH v10 2/3] of: factor arguments passed to of_map_id() into a struct Vijayanand Jitta
2026-03-09  5:28   ` kernel test robot
2026-03-09 21:23   ` Dmitry Baryshkov
2026-03-12 11:42     ` Vijayanand Jitta
2026-03-12 14:18       ` Dmitry Baryshkov
2026-03-16 17:07         ` Vijayanand Jitta
2026-03-16 18:49           ` Dmitry Baryshkov
2026-03-10  8:20   ` kernel test robot [this message]
2026-03-08 19:33 ` [PATCH v10 3/3] of: Respect #{iommu,msi}-cells in maps Vijayanand Jitta
2026-03-09 21:08   ` Bjorn Helgaas
2026-03-12 11:42     ` Vijayanand Jitta
2026-03-09 21:05 ` [PATCH v10 0/3] of: parsing of multi " Bjorn Helgaas
2026-03-12 11:41   ` 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=202603101641.aPJli6Zx-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Frank.Li@nxp.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=festevam@gmail.com \
    --cc=helgaas@kernel.org \
    --cc=hongxing.zhu@nxp.com \
    --cc=jgross@suse.com \
    --cc=joro@8bytes.org \
    --cc=kernel@pengutronix.de \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=krzk@kernel.org \
    --cc=kwilczynski@kernel.org \
    --cc=l.stach@pengutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=lumag@kernel.org \
    --cc=mani@kernel.org \
    --cc=maz@kernel.org \
    --cc=nikhil.agarwal@amd.com \
    --cc=nipun.gupta@amd.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=oleksandr_tyshchenko@epam.com \
    --cc=prakash.gupta@oss.qualcomm.com \
    --cc=robh@kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=s.hauer@pengutronix.de \
    --cc=saravanak@kernel.org \
    --cc=sstabellini@kernel.org \
    --cc=tglx@kernel.org \
    --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

all inboxes | Powered by JetHome®