All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [hch-block:bvec-kmap 7/46] drivers/block/ps3disk.c:90:53: error: expected '; ' after expression
Date: Sun, 23 May 2021 00:49:01 +0800	[thread overview]
Message-ID: <202105230054.uMAvINSb-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-05-22 16:49 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=202105230054.uMAvINSb-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@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.