From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: Re: [PATCH RFC 1/2] scatterlist: add I/O variant of sg_pcopy & sg_copy
Date: Tue, 29 Jun 2021 01:09:10 +0800 [thread overview]
Message-ID: <202106290140.AswtGuZK-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3969 bytes --]
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20210628123411.119778-2-narmstrong@baylibre.com>
References: <20210628123411.119778-2-narmstrong@baylibre.com>
TO: Neil Armstrong <narmstrong@baylibre.com>
Hi Neil,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on linus/master]
[also build test WARNING on v5.13 next-20210628]
[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]
url: https://github.com/0day-ci/linux/commits/Neil-Armstrong/scatterlist-add-I-O-variant-of-sg_pcopy-sg_copy-and-use-them/20210628-203511
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 62fb9874f5da54fdb243003b386128037319b219
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours ago
config: sparc-randconfig-s032-20210628 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.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.3-341-g8af24329-dirty
# https://github.com/0day-ci/linux/commit/743501a6aa75533e65fbb9df89b85ec69ca27a3e
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Neil-Armstrong/scatterlist-add-I-O-variant-of-sg_pcopy-sg_copy-and-use-them/20210628-203511
git checkout 743501a6aa75533e65fbb9df89b85ec69ca27a3e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sparc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
lib/scatterlist.c:1050:8: sparse: sparse: symbol 'sg_copy_from_io' redeclared with different type (incompatible argument 3 (different address spaces)):
>> lib/scatterlist.c:1050:8: sparse: unsigned long extern [addressable] [toplevel] [unsigned] sg_copy_from_io( ... )
lib/scatterlist.c: note: in included file:
include/linux/scatterlist.h:319:8: sparse: note: previously declared as:
>> include/linux/scatterlist.h:319:8: sparse: unsigned long extern [addressable] [toplevel] [unsigned] sg_copy_from_io( ... )
vim +1050 lib/scatterlist.c
df642cea25c90d Akinobu Mita 2013-07-08 1039
743501a6aa7553 Neil Armstrong 2021-06-28 1040 /**
743501a6aa7553 Neil Armstrong 2021-06-28 1041 * sg_copy_from_io - Copy from an I/O mapped buffer to an SG list
743501a6aa7553 Neil Armstrong 2021-06-28 1042 * @sgl: The SG list
743501a6aa7553 Neil Armstrong 2021-06-28 1043 * @nents: Number of SG entries
743501a6aa7553 Neil Armstrong 2021-06-28 1044 * @buf: Where to copy from
743501a6aa7553 Neil Armstrong 2021-06-28 1045 * @buflen: The number of bytes to copy
743501a6aa7553 Neil Armstrong 2021-06-28 1046 *
743501a6aa7553 Neil Armstrong 2021-06-28 1047 * Returns the number of copied bytes.
743501a6aa7553 Neil Armstrong 2021-06-28 1048 *
743501a6aa7553 Neil Armstrong 2021-06-28 1049 **/
743501a6aa7553 Neil Armstrong 2021-06-28 @1050 size_t sg_copy_from_io(struct scatterlist *sgl, unsigned int nents,
743501a6aa7553 Neil Armstrong 2021-06-28 1051 const void *buf, size_t buflen)
743501a6aa7553 Neil Armstrong 2021-06-28 1052 {
743501a6aa7553 Neil Armstrong 2021-06-28 1053 return sg_copy_io(sgl, nents, (void __iomem *)buf, buflen, 0, false);
743501a6aa7553 Neil Armstrong 2021-06-28 1054 }
743501a6aa7553 Neil Armstrong 2021-06-28 1055 EXPORT_SYMBOL(sg_copy_from_io);
743501a6aa7553 Neil Armstrong 2021-06-28 1056
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25612 bytes --]
next reply other threads:[~2021-06-28 17:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-28 17:09 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-28 20:14 [PATCH RFC 1/2] scatterlist: add I/O variant of sg_pcopy & sg_copy kernel test robot
2021-06-28 12:34 [PATCH RFC 0/2] scatterlist: add I/O variant of sg_pcopy & sg_copy and use them Neil Armstrong
2021-06-28 12:34 ` [PATCH RFC 1/2] scatterlist: add I/O variant of sg_pcopy & sg_copy Neil Armstrong
2021-06-28 12:34 ` Neil Armstrong
2021-06-28 12:34 ` Neil Armstrong
2021-06-28 13:40 ` Robin Murphy
2021-06-28 13:40 ` Robin Murphy
2021-06-28 13:40 ` Robin Murphy
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=202106290140.AswtGuZK-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.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.