From: kernel test robot <lkp@intel.com>
To: Xu Yang <xu.yang_2@nxp.com>,
vkoul@kernel.org, kishon@kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org,
s.hauer@pengutronix.de, kernel@pengutronix.de,
festevam@gmail.com, gregkh@linuxfoundation.org,
peter.chen@kernel.org, herve.codina@bootlin.com
Cc: oe-kbuild-all@lists.linux.dev, linux-phy@lists.infradead.org,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org,
jun.li@nxp.com
Subject: Re: [PATCH v6 1/3] phy: fsl-imx8mq-usb: add tca function driver for imx95
Date: Wed, 9 Oct 2024 17:52:54 +0800 [thread overview]
Message-ID: <202410091742.HgStY96T-lkp@intel.com> (raw)
In-Reply-To: <20241008062744.2211539-1-xu.yang_2@nxp.com>
Hi Xu,
kernel test robot noticed the following build warnings:
[auto build test WARNING on shawnguo/for-next]
[also build test WARNING on linus/master v6.12-rc2 next-20241008]
[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/Xu-Yang/arm64-dts-imx95-add-usb3-related-nodes/20241008-152345
base: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next
patch link: https://lore.kernel.org/r/20241008062744.2211539-1-xu.yang_2%40nxp.com
patch subject: [PATCH v6 1/3] phy: fsl-imx8mq-usb: add tca function driver for imx95
config: arm-randconfig-r121-20241009 (https://download.01.org/0day-ci/archive/20241009/202410091742.HgStY96T-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20241009/202410091742.HgStY96T-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/202410091742.HgStY96T-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/phy/freescale/phy-fsl-imx8mq-usb.c:264:24: sparse: sparse: Using plain integer as NULL pointer
>> drivers/phy/freescale/phy-fsl-imx8mq-usb.c:272:27: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected struct tca_blk * @@ got void [noderef] __iomem *base @@
drivers/phy/freescale/phy-fsl-imx8mq-usb.c:272:27: sparse: expected struct tca_blk *
drivers/phy/freescale/phy-fsl-imx8mq-usb.c:272:27: sparse: got void [noderef] __iomem *base
drivers/phy/freescale/phy-fsl-imx8mq-usb.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/umh.h, include/linux/kmod.h, ...):
include/linux/page-flags.h:235:46: sparse: sparse: self-comparison always evaluates to false
include/linux/page-flags.h:235:46: sparse: sparse: self-comparison always evaluates to false
vim +264 drivers/phy/freescale/phy-fsl-imx8mq-usb.c
254
255 static struct tca_blk *imx95_usb_phy_get_tca(struct platform_device *pdev,
256 struct imx8mq_usb_phy *imx_phy)
257 {
258 struct device *dev = &pdev->dev;
259 struct resource *res;
260 struct tca_blk *tca;
261
262 res = platform_get_resource(pdev, IORESOURCE_MEM, 1);
263 if (!res)
> 264 return 0;
265
266 tca = devm_kzalloc(dev, sizeof(*tca), GFP_KERNEL);
267 if (!tca)
268 return ERR_PTR(-ENOMEM);
269
270 tca->base = devm_ioremap_resource(&pdev->dev, res);
271 if (IS_ERR(tca->base))
> 272 return tca->base;
273
274 mutex_init(&tca->mutex);
275
276 tca->orientation = TYPEC_ORIENTATION_NORMAL;
277 tca->sw = tca_blk_get_typec_switch(pdev, imx_phy);
278
279 return tca;
280 }
281
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2024-10-09 9:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-08 6:27 [PATCH v6 1/3] phy: fsl-imx8mq-usb: add tca function driver for imx95 Xu Yang
2024-10-08 6:27 ` [PATCH v6 2/3] arm64: dts: imx95: add usb3 related nodes Xu Yang
2024-10-08 6:27 ` [PATCH v6 3/3] arm64: dts: imx95-19x19-evk: add typec nodes and enable usb3 node Xu Yang
2024-10-09 9:52 ` kernel test robot [this message]
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=202410091742.HgStY96T-lkp@intel.com \
--to=lkp@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=herve.codina@bootlin.com \
--cc=imx@lists.linux.dev \
--cc=jun.li@nxp.com \
--cc=kernel@pengutronix.de \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-usb@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peter.chen@kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=vkoul@kernel.org \
--cc=xu.yang_2@nxp.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;
as well as URLs for NNTP newsgroup(s).