From: kbuild test robot <lkp@intel.com>
To: Han Nandor <nandor.han@vaisala.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
Sebastian Reichel <sre@kernel.org>
Subject: drivers/power/reset/nvmem-reboot-mode.c:27:42: warning: passing argument 2 of 'nvmem_cell_write' from incompatible pointer type
Date: Wed, 24 Jul 2019 10:38:08 +0800 [thread overview]
Message-ID: <201907241057.q4MSlcap%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ad5e427e0f6b702e52c11d1f7b2b7be3bac7de82
commit: 7a78a7f7695bf9ef9cef3c06fbc5fa4573fd0eef power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface
date: 4 weeks ago
config: x86_64-randconfig-s1-07240714 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
git checkout 7a78a7f7695bf9ef9cef3c06fbc5fa4573fd0eef
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/power/reset/nvmem-reboot-mode.c: In function 'nvmem_reboot_mode_write':
>> drivers/power/reset/nvmem-reboot-mode.c:27:42: warning: passing argument 2 of 'nvmem_cell_write' from incompatible pointer type
ret = nvmem_cell_write(nvmem_rbm->cell, &magic, sizeof(magic));
^
In file included from drivers/power/reset/nvmem-reboot-mode.c:10:0:
include/linux/nvmem-consumer.h:120:19: note: expected 'const char *' but argument is of type 'unsigned int *'
static inline int nvmem_cell_write(struct nvmem_cell *cell,
^
vim +/nvmem_cell_write +27 drivers/power/reset/nvmem-reboot-mode.c
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31381 bytes --]
reply other threads:[~2019-07-24 2:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201907241057.q4MSlcap%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nandor.han@vaisala.com \
--cc=sre@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
Powered by JetHome