From: kernel test robot <lkp@intel.com>
To: Julian Vetter <jvetter@kalrayinc.com>,
Arnd Bergmann <arnd@arndb.de>,
Russell King <linux@armlinux.org.uk>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>, Guo Ren <guoren@kernel.org>,
Huacai Chen <chenhuacai@kernel.org>,
WANG Xuerui <kernel@xen0n.name>,
Andrew Morton <akpm@linux-foundation.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Richard Henderson <richard.henderson@linaro.org>,
Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
Matt Turner <mattst88@gmail.com>,
"James E . J . Bottomley" <James.Bottomley@hansenpartnership.com>,
Helge Deller <deller@gmx.de>,
Yoshinori Sato <ysato@users.sourceforge.jp>,
Rich Felker <dalias@libc.org>,
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
Richard Weinberger <richard@nod.at>,
Anton Ivanov <anton.ivanov@cambridgegreys.com>,
Johannes Berg <johannes@sipsolutions.net>,
Michael Ellerman <mpe@ellerman.id.au>,
Nicholas Piggin <npiggin@gmail.com>,
Christophe Leroy <christophe.leroy@csgroup.eu>,
Naveen N Rao <naveen@kernel.org>,
Madhavan Srinivasan <maddy@linux.ibm.com>,
Heiko Carstens <hca@linux.ibm.com>,
Vasily Gorbik <gor@linux.ibm.com>,
Alexander Gordeev <agordeev@linux.ibm.com>,
Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [PATCH v8 01/14] Consolidate IO memcpy/memset into iomap_copy.c
Date: Wed, 9 Oct 2024 15:13:43 +0800 [thread overview]
Message-ID: <202410091406.PM7WcKcj-lkp@intel.com> (raw)
In-Reply-To: <20241008075023.3052370-2-jvetter@kalrayinc.com>
Hi Julian,
kernel test robot noticed the following build warnings:
[auto build test WARNING on powerpc/next]
[also build test WARNING on powerpc/fixes arm64/for-next/core deller-parisc/for-next s390/features mtd/mtd/next mtd/mtd/fixes linus/master arm/for-next arm/fixes 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/Julian-Vetter/Consolidate-IO-memcpy-memset-into-iomap_copy-c/20241008-163134
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
patch link: https://lore.kernel.org/r/20241008075023.3052370-2-jvetter%40kalrayinc.com
patch subject: [PATCH v8 01/14] Consolidate IO memcpy/memset into iomap_copy.c
config: x86_64-randconfig-121-20241009 (https://download.01.org/0day-ci/archive/20241009/202410091406.PM7WcKcj-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241009/202410091406.PM7WcKcj-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/202410091406.PM7WcKcj-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/misc/ibmasm/lowlevel.c:35:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got struct i2o_header * @@
drivers/misc/ibmasm/lowlevel.c:35:22: sparse: expected void volatile [noderef] __iomem *to
drivers/misc/ibmasm/lowlevel.c:35:22: sparse: got struct i2o_header *
>> drivers/misc/ibmasm/lowlevel.c:36:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void ** @@
drivers/misc/ibmasm/lowlevel.c:36:22: sparse: expected void volatile [noderef] __iomem *to
drivers/misc/ibmasm/lowlevel.c:36:22: sparse: got void **
drivers/misc/ibmasm/lowlevel.c: note: in included file:
drivers/misc/ibmasm/lowlevel.h:120:17: sparse: sparse: cast removes address space '__iomem' of expression
drivers/misc/ibmasm/lowlevel.h:120:17: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/misc/ibmasm/heartbeat.c:85:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *message @@
drivers/misc/ibmasm/heartbeat.c:85:36: sparse: expected void const volatile [noderef] __iomem *from
drivers/misc/ibmasm/heartbeat.c:85:36: sparse: got void *message
--
>> drivers/misc/ibmasm/event.c:54:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *data @@
drivers/misc/ibmasm/event.c:54:36: sparse: expected void const volatile [noderef] __iomem *from
drivers/misc/ibmasm/event.c:54:36: sparse: got void *data
--
drivers/misc/ibmasm/remote.c:180:39: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/misc/ibmasm/remote.c:180:39: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void * @@
drivers/misc/ibmasm/remote.c:180:39: sparse: expected void const volatile [noderef] __iomem *from
drivers/misc/ibmasm/remote.c:180:39: sparse: got void *
--
>> drivers/misc/ibmasm/command.c:168:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *response @@
drivers/misc/ibmasm/command.c:168:36: sparse: expected void const volatile [noderef] __iomem *from
drivers/misc/ibmasm/command.c:168:36: sparse: got void *response
vim +35 drivers/misc/ibmasm/lowlevel.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 17
^1da177e4c3f41 Linus Torvalds 2005-04-16 18
^1da177e4c3f41 Linus Torvalds 2005-04-16 19 int ibmasm_send_i2o_message(struct service_processor *sp)
^1da177e4c3f41 Linus Torvalds 2005-04-16 20 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 21 u32 mfa;
^1da177e4c3f41 Linus Torvalds 2005-04-16 22 unsigned int command_size;
^1da177e4c3f41 Linus Torvalds 2005-04-16 23 struct i2o_message *message;
^1da177e4c3f41 Linus Torvalds 2005-04-16 24 struct command *command = sp->current_command;
^1da177e4c3f41 Linus Torvalds 2005-04-16 25
^1da177e4c3f41 Linus Torvalds 2005-04-16 26 mfa = get_mfa_inbound(sp->base_address);
^1da177e4c3f41 Linus Torvalds 2005-04-16 27 if (!mfa)
^1da177e4c3f41 Linus Torvalds 2005-04-16 28 return 1;
^1da177e4c3f41 Linus Torvalds 2005-04-16 29
^1da177e4c3f41 Linus Torvalds 2005-04-16 30 command_size = get_dot_command_size(command->buffer);
^1da177e4c3f41 Linus Torvalds 2005-04-16 31 header.message_size = outgoing_message_size(command_size);
^1da177e4c3f41 Linus Torvalds 2005-04-16 32
^1da177e4c3f41 Linus Torvalds 2005-04-16 33 message = get_i2o_message(sp->base_address, mfa);
^1da177e4c3f41 Linus Torvalds 2005-04-16 34
278d72ae8803ff Max Asbock 2005-06-21 @35 memcpy_toio(&message->header, &header, sizeof(struct i2o_header));
278d72ae8803ff Max Asbock 2005-06-21 @36 memcpy_toio(&message->data, command->buffer, command_size);
^1da177e4c3f41 Linus Torvalds 2005-04-16 37
^1da177e4c3f41 Linus Torvalds 2005-04-16 38 set_mfa_inbound(sp->base_address, mfa);
^1da177e4c3f41 Linus Torvalds 2005-04-16 39
^1da177e4c3f41 Linus Torvalds 2005-04-16 40 return 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 41 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 42
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2024-10-09 7:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20241008075023.3052370-2-jvetter@kalrayinc.com>
2024-10-09 2:54 ` kernel test robot
2024-10-09 3:25 ` kernel test robot
2024-10-09 7:13 ` 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=202410091406.PM7WcKcj-lkp@intel.com \
--to=lkp@intel.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=agordeev@linux.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=anton.ivanov@cambridgegreys.com \
--cc=arnd@arndb.de \
--cc=borntraeger@linux.ibm.com \
--cc=catalin.marinas@arm.com \
--cc=chenhuacai@kernel.org \
--cc=christophe.leroy@csgroup.eu \
--cc=dalias@libc.org \
--cc=deller@gmx.de \
--cc=geert@linux-m68k.org \
--cc=glaubitz@physik.fu-berlin.de \
--cc=gor@linux.ibm.com \
--cc=guoren@kernel.org \
--cc=hca@linux.ibm.com \
--cc=ink@jurassic.park.msu.ru \
--cc=johannes@sipsolutions.net \
--cc=jvetter@kalrayinc.com \
--cc=kernel@xen0n.name \
--cc=linux-mm@kvack.org \
--cc=linux@armlinux.org.uk \
--cc=maddy@linux.ibm.com \
--cc=mattst88@gmail.com \
--cc=mpe@ellerman.id.au \
--cc=naveen@kernel.org \
--cc=npiggin@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=richard.henderson@linaro.org \
--cc=richard@nod.at \
--cc=will@kernel.org \
--cc=ysato@users.sourceforge.jp \
/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