[s390:features 17/19] drivers/s390//block/scm_blk.c:255:3: error: too many arguments to function 'blk_mq_complete_request'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git features
head:   8e4b8e130264946bac891e029bde062c70d26557
commit: 43ec89ca0a3a01e9b18c40ce29c6ba3179c167c3 [17/19] s390/scm: convert to blk-mq
config: s390-default_defconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 43ec89ca0a3a01e9b18c40ce29c6ba3179c167c3
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   drivers/s390//block/scm_blk.c: In function 'scm_request_finish':
>> drivers/s390//block/scm_blk.c:255:3: error: too many arguments to function 'blk_mq_complete_request'
      blk_mq_complete_request(scmrq->request[i], scmrq->error);
      ^~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/s390//block/scm_blk.c:16:0:
   include/linux/blk-mq.h:237:6: note: declared here
    void blk_mq_complete_request(struct request *rq);
         ^~~~~~~~~~~~~~~~~~~~~~~

vim +/blk_mq_complete_request +255 drivers/s390//block/scm_blk.c

   249	static void scm_request_finish(struct scm_request *scmrq)
   250	{
   251		struct scm_blk_dev *bdev = scmrq->bdev;
   252		int i;
   253	
   254		for (i = 0; i < nr_requests_per_io && scmrq->request[i]; i++)
 > 255			blk_mq_complete_request(scmrq->request[i], scmrq->error);
   256	
   257		atomic_dec(&bdev->queued_reqs);
   258		scm_request_done(scmrq);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux