From: kernel test robot <lkp@intel.com>
To: Abel Vesa <abel.vesa@linaro.org>,
Ulf Hansson <ulf.hansson@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Manivannan Sadhasivam <mani@kernel.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Avri Altman <avri.altman@wdc.com>,
Bart Van Assche <bvanassche@acm.org>,
Adrian Hunter <adrian.hunter@intel.com>,
"James E . J . Bottomley" <jejb@linux.ibm.com>,
"Martin K . Petersen" <martin.petersen@oracle.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
"David S . Miller" <davem@davemloft.net>,
Eric Biggers <ebiggers@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-mmc@vger.kernel.org,
devicetree@vger.kernel.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org,
linux-scsi@vger.kernel.org
Subject: Re: [PATCH v4 6/7] mmc: sdhci-msm: Switch to the new ICE API
Date: Tue, 28 Mar 2023 05:58:20 +0800 [thread overview]
Message-ID: <202303280550.QHofWszH-lkp@intel.com> (raw)
In-Reply-To: <20230327134734.3256974-7-abel.vesa@linaro.org>
Hi Abel,
I love your patch! Perhaps something to improve:
[auto build test WARNING on robh/for-next]
[also build test WARNING on mkp-scsi/for-next jejb-scsi/for-next linus/master v6.3-rc4 next-20230327]
[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/Abel-Vesa/dt-bindings-crypto-Add-Qualcomm-Inline-Crypto-Engine/20230327-214958
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20230327134734.3256974-7-abel.vesa%40linaro.org
patch subject: [PATCH v4 6/7] mmc: sdhci-msm: Switch to the new ICE API
config: microblaze-randconfig-s042-20230326 (https://download.01.org/0day-ci/archive/20230328/202303280550.QHofWszH-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 12.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/intel-lab-lkp/linux/commit/2b59bf19ddc6de631e808bb2f30d5cf030f37828
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Abel-Vesa/dt-bindings-crypto-Add-Qualcomm-Inline-Crypto-Engine/20230327-214958
git checkout 2b59bf19ddc6de631e808bb2f30d5cf030f37828
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=microblaze olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=microblaze SHELL=/bin/bash drivers/soc/qcom/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303280550.QHofWszH-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/soc/qcom/ice.c:273:32: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected struct qcom_ice * @@ got void [noderef] __iomem *[assigned] base @@
drivers/soc/qcom/ice.c:273:32: sparse: expected struct qcom_ice *
drivers/soc/qcom/ice.c:273:32: sparse: got void [noderef] __iomem *[assigned] base
vim +273 drivers/soc/qcom/ice.c
a9e1199fcc2742 Abel Vesa 2023-03-27 256
a9e1199fcc2742 Abel Vesa 2023-03-27 257 struct qcom_ice *of_qcom_ice_get(struct device *dev)
a9e1199fcc2742 Abel Vesa 2023-03-27 258 {
a9e1199fcc2742 Abel Vesa 2023-03-27 259 struct platform_device *pdev = to_platform_device(dev);
a9e1199fcc2742 Abel Vesa 2023-03-27 260 struct qcom_ice *ice = ERR_PTR(-EPROBE_DEFER);
a9e1199fcc2742 Abel Vesa 2023-03-27 261 struct device_node *node;
a9e1199fcc2742 Abel Vesa 2023-03-27 262 struct resource *res;
a9e1199fcc2742 Abel Vesa 2023-03-27 263 void __iomem *base;
a9e1199fcc2742 Abel Vesa 2023-03-27 264
a9e1199fcc2742 Abel Vesa 2023-03-27 265 if (!dev || !dev->of_node)
a9e1199fcc2742 Abel Vesa 2023-03-27 266 return ERR_PTR(-ENODEV);
a9e1199fcc2742 Abel Vesa 2023-03-27 267
a9e1199fcc2742 Abel Vesa 2023-03-27 268 /* legacy has ice reg range in the consumer DT node */
a9e1199fcc2742 Abel Vesa 2023-03-27 269 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ice");
a9e1199fcc2742 Abel Vesa 2023-03-27 270 if (res) {
a9e1199fcc2742 Abel Vesa 2023-03-27 271 base = devm_ioremap_resource(&pdev->dev, res);
a9e1199fcc2742 Abel Vesa 2023-03-27 272 if (IS_ERR(base))
a9e1199fcc2742 Abel Vesa 2023-03-27 @273 return base;
a9e1199fcc2742 Abel Vesa 2023-03-27 274
a9e1199fcc2742 Abel Vesa 2023-03-27 275 /* create ICE instance using consumer dev */
a9e1199fcc2742 Abel Vesa 2023-03-27 276 return qcom_ice_create(pdev, base);
a9e1199fcc2742 Abel Vesa 2023-03-27 277 }
a9e1199fcc2742 Abel Vesa 2023-03-27 278
a9e1199fcc2742 Abel Vesa 2023-03-27 279 node = of_parse_phandle(dev->of_node, "qcom,ice", 0);
a9e1199fcc2742 Abel Vesa 2023-03-27 280 if (!node) {
a9e1199fcc2742 Abel Vesa 2023-03-27 281 ice = NULL;
a9e1199fcc2742 Abel Vesa 2023-03-27 282 goto out;
a9e1199fcc2742 Abel Vesa 2023-03-27 283 }
a9e1199fcc2742 Abel Vesa 2023-03-27 284
a9e1199fcc2742 Abel Vesa 2023-03-27 285 pdev = of_find_device_by_node(node);
a9e1199fcc2742 Abel Vesa 2023-03-27 286 if (!pdev) {
a9e1199fcc2742 Abel Vesa 2023-03-27 287 dev_err(dev, "Cannot find device node %s\n", node->name);
a9e1199fcc2742 Abel Vesa 2023-03-27 288 goto out;
a9e1199fcc2742 Abel Vesa 2023-03-27 289 }
a9e1199fcc2742 Abel Vesa 2023-03-27 290
a9e1199fcc2742 Abel Vesa 2023-03-27 291 ice = platform_get_drvdata(pdev);
a9e1199fcc2742 Abel Vesa 2023-03-27 292 if (!ice) {
a9e1199fcc2742 Abel Vesa 2023-03-27 293 dev_err(dev, "Cannot get ice\n");
a9e1199fcc2742 Abel Vesa 2023-03-27 294 put_device(&pdev->dev);
a9e1199fcc2742 Abel Vesa 2023-03-27 295 return ERR_PTR(-ENODEV);
a9e1199fcc2742 Abel Vesa 2023-03-27 296 }
a9e1199fcc2742 Abel Vesa 2023-03-27 297
a9e1199fcc2742 Abel Vesa 2023-03-27 298 out:
a9e1199fcc2742 Abel Vesa 2023-03-27 299 of_node_put(node);
a9e1199fcc2742 Abel Vesa 2023-03-27 300
a9e1199fcc2742 Abel Vesa 2023-03-27 301 return ice;
a9e1199fcc2742 Abel Vesa 2023-03-27 302 }
a9e1199fcc2742 Abel Vesa 2023-03-27 303 EXPORT_SYMBOL_GPL(of_qcom_ice_get);
a9e1199fcc2742 Abel Vesa 2023-03-27 304
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next prev parent reply other threads:[~2023-03-27 21:58 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-27 13:47 [PATCH v4 0/7] Add dedicated Qcom ICE driver Abel Vesa
2023-03-27 13:47 ` [PATCH v4 1/7] dt-bindings: crypto: Add Qualcomm Inline Crypto Engine Abel Vesa
2023-03-27 17:50 ` Eric Biggers
2023-03-27 13:47 ` [PATCH v4 2/7] dt-bindings: mmc: sdhci-msm: Add ICE phandle Abel Vesa
2023-03-27 14:44 ` Krzysztof Kozlowski
2023-03-27 17:52 ` Eric Biggers
2023-03-27 13:47 ` [PATCH v4 3/7] dt-bindings: ufs: qcom: " Abel Vesa
2023-03-27 14:45 ` Krzysztof Kozlowski
2023-03-27 13:47 ` [PATCH v4 4/7] soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver Abel Vesa
2023-03-27 18:01 ` Eric Biggers
2023-03-27 18:53 ` Bjorn Andersson
2023-03-27 19:09 ` Eric Biggers
2023-03-27 19:27 ` Bjorn Andersson
2023-03-27 20:12 ` Eric Biggers
2023-03-27 13:47 ` [PATCH v4 5/7] scsi: ufs: ufs-qcom: Switch to the new ICE API Abel Vesa
2023-03-27 18:19 ` Eric Biggers
2023-03-31 5:13 ` Abel Vesa
2023-03-27 13:47 ` [PATCH v4 6/7] mmc: sdhci-msm: " Abel Vesa
2023-03-27 18:32 ` Eric Biggers
2023-03-31 5:04 ` Abel Vesa
2023-03-27 21:58 ` kernel test robot [this message]
2023-03-27 13:47 ` [PATCH v4 7/7] arm64: dts: qcom: sm8550: Add the Inline Crypto Engine node Abel Vesa
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=202303280550.QHofWszH-lkp@intel.com \
--to=lkp@intel.com \
--cc=abel.vesa@linaro.org \
--cc=adrian.hunter@intel.com \
--cc=agross@kernel.org \
--cc=alim.akhtar@samsung.com \
--cc=andersson@kernel.org \
--cc=avri.altman@wdc.com \
--cc=bvanassche@acm.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=ebiggers@kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=jejb@linux.ibm.com \
--cc=konrad.dybcio@linaro.org \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mani@kernel.org \
--cc=martin.petersen@oracle.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh+dt@kernel.org \
--cc=ulf.hansson@linaro.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 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.