* [hch-block:bvec-kmap 7/46] drivers/block/ps3disk.c:90:53: error: expected '; ' after expression
@ 2021-05-22 16:49 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-22 16:49 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3042 bytes --]
tree: git://git.infradead.org/users/hch/block.git bvec-kmap
head: dcf9fd7b54aa00cdd89251aebaa3cc713f035e26
commit: 8441f5feb18c43b4c524ad54e70ea6e3cbe64403 [7/46] ps3disk: use memcpy_{from,to}_bvec
config: powerpc64-randconfig-r016-20210522 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project e84a9b9bb3051c35dea993cdad7b3d2575638f85)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
git remote add hch-block git://git.infradead.org/users/hch/block.git
git fetch --no-tags hch-block bvec-kmap
git checkout 8441f5feb18c43b4c524ad54e70ea6e3cbe64403
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/block/ps3disk.c:90:53: error: expected ';' after expression
memcpy_from_bvec(dev->bounce_buf + offset, &bvev)
^
;
>> drivers/block/ps3disk.c:90:48: error: use of undeclared identifier 'bvev'; did you mean 'bvec'?
memcpy_from_bvec(dev->bounce_buf + offset, &bvev)
^~~~
bvec
drivers/block/ps3disk.c:86:17: note: 'bvec' declared here
struct bio_vec bvec;
^
drivers/block/ps3disk.c:92:20: error: use of undeclared identifier 'bvev'; did you mean 'bvec'?
memcpy_to_bvec(&bvev, dev->bounce_buf + offset);
^~~~
bvec
drivers/block/ps3disk.c:86:17: note: 'bvec' declared here
struct bio_vec bvec;
^
3 errors generated.
vim +90 drivers/block/ps3disk.c
79
80
81 static void ps3disk_scatter_gather(struct ps3_storage_device *dev,
82 struct request *req, int gather)
83 {
84 unsigned int offset = 0;
85 struct req_iterator iter;
86 struct bio_vec bvec;
87
88 rq_for_each_segment(bvec, req, iter) {
89 if (gather)
> 90 memcpy_from_bvec(dev->bounce_buf + offset, &bvev)
91 else
92 memcpy_to_bvec(&bvev, dev->bounce_buf + offset);
93 offset += bvec.bv_len;
94 }
95 }
96
---
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: 31843 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-22 16:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-22 16:49 [hch-block:bvec-kmap 7/46] drivers/block/ps3disk.c:90:53: error: expected '; ' after expression kernel test robot
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.