From: Dan Carpenter <dan.carpenter@oracle.com>
To: kbuild@lists.01.org, Krzysztof Kozlowski <krzk@kernel.org>
Cc: lkp@intel.com, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org,
Ulf Hansson <ulf.hansson@linaro.org>
Subject: drivers/mmc/host/tmio_mmc.c:177 tmio_mmc_probe() warn: argument 3 to %08lx specifier is cast from pointer
Date: Mon, 16 Nov 2020 12:22:36 +0300 [thread overview]
Message-ID: <20201116092236.GT29398@kadam> (raw)
[-- Attachment #1: Type: text/plain, Size: 2598 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1
commit: 54d8454436a205682bd89d66d8d9eedbc8452d15 mmc: host: Enable compile testing of multiple drivers
config: arm64-randconfig-m031-20201113 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
drivers/mmc/host/tmio_mmc.c:177 tmio_mmc_probe() warn: argument 3 to %08lx specifier is cast from pointer
vim +177 drivers/mmc/host/tmio_mmc.c
94b110aff8679b1 Kuninori Morimoto 2015-01-13 170
de501af98dfab9c Ian Molton 2015-04-27 171 ret = devm_request_irq(&pdev->dev, irq, tmio_mmc_irq,
de501af98dfab9c Ian Molton 2015-04-27 172 IRQF_TRIGGER_FALLING,
d9618e9f1a057ef Yong Zhang 2011-09-22 173 dev_name(&pdev->dev), host);
8e7bfdb37ac001c Magnus Damm 2011-05-06 174 if (ret)
8e7bfdb37ac001c Magnus Damm 2011-05-06 175 goto host_remove;
8e7bfdb37ac001c Magnus Damm 2011-05-06 176
311f3ac76826bfd Guennadi Liakhovetski 2010-05-19 @177 pr_info("%s at 0x%08lx irq %d\n", mmc_hostname(host->mmc),
^^^^^^^
These are supposed to be %p so that the kernel can hide them and avoid
showing kernel pointers to user space.
8e7bfdb37ac001c Magnus Damm 2011-05-06 178 (unsigned long)host->ctl, irq);
4a48998fa16121d Ian Molton 2008-07-15 179
4a48998fa16121d Ian Molton 2008-07-15 180 return 0;
4a48998fa16121d Ian Molton 2008-07-15 181
8e7bfdb37ac001c Magnus Damm 2011-05-06 182 host_remove:
8e7bfdb37ac001c Magnus Damm 2011-05-06 183 tmio_mmc_host_remove(host);
94b110aff8679b1 Kuninori Morimoto 2015-01-13 184 host_free:
94b110aff8679b1 Kuninori Morimoto 2015-01-13 185 tmio_mmc_host_free(host);
7ee422dc6e947fc Magnus Damm 2010-02-17 186 cell_disable:
7ee422dc6e947fc Magnus Damm 2010-02-17 187 if (cell->disable)
b6147490e6aac82 Guennadi Liakhovetski 2011-03-23 188 cell->disable(pdev);
4a48998fa16121d Ian Molton 2008-07-15 189 out:
4a48998fa16121d Ian Molton 2008-07-15 190 return ret;
4a48998fa16121d Ian Molton 2008-07-15 191 }
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37604 bytes --]
next reply other threads:[~2020-11-16 9:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-16 9:22 Dan Carpenter [this message]
2020-11-16 16:43 ` drivers/mmc/host/tmio_mmc.c:177 tmio_mmc_probe() warn: argument 3 to %08lx specifier is cast from pointer Krzysztof Kozlowski
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=20201116092236.GT29398@kadam \
--to=dan.carpenter@oracle.com \
--cc=kbuild-all@lists.01.org \
--cc=kbuild@lists.01.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox