[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-scsi
Subject: Re: [PATCH 1/2] sd: Rework ZBC integration
From: kbuild test robot <lkp () intel ! com>
Date: 2017-02-28 19:14:53
Message-ID: 201703010341.L4tQrlXV%fengguang.wu () intel ! com
[Download RAW message or body]
Hi Damien,
[auto build test WARNING on scsi/for-next]
[also build test WARNING on v4.10 next-20170228]
[if your patch is applied to the wrong git tree, please drop us a note to help \
improve the system]
url: https://github.com/0day-ci/linux/commits/Damien-Le-Moal/Improve-ZBC-integration/20170301-020730
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: parisc-c3000_defconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross \
-O ~/bin/make.cross chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=parisc
All warnings (new ones prefixed by >>):
In file included from drivers/usb/storage/transport.c:65:0:
drivers/usb/storage/../../scsi/sd.h: In function 'sd_zbc_complete':
> > drivers/usb/storage/../../scsi/sd.h:309:16: warning: no return statement in \
> > function returning non-void [-Wreturn-type]
struct scsi_sense_hdr *sshdr) {}
^~~~~~~~~~~~~~
vim +309 drivers/usb/storage/../../scsi/sd.h
89d94756 drivers/scsi/sd.h Hannes Reinecke 2016-10-18 293 }
89d94756 drivers/scsi/sd.h Hannes Reinecke 2016-10-18 294
89d94756 drivers/scsi/sd.h Hannes Reinecke 2016-10-18 295 static inline void \
sd_zbc_cancel_write_cmnd(struct scsi_cmnd *cmd) {} 89d94756 drivers/scsi/sd.h Hannes \
Reinecke 2016-10-18 296 89d94756 drivers/scsi/sd.h Hannes Reinecke \
2016-10-18 297 static inline int sd_zbc_setup_report_cmnd(struct scsi_cmnd *cmd) \
89d94756 drivers/scsi/sd.h Hannes Reinecke 2016-10-18 298 { 89d94756 \
drivers/scsi/sd.h Hannes Reinecke 2016-10-18 299 return BLKPREP_INVALID; \
89d94756 drivers/scsi/sd.h Hannes Reinecke 2016-10-18 300 } 89d94756 \
drivers/scsi/sd.h Hannes Reinecke 2016-10-18 301 89d94756 drivers/scsi/sd.h \
Hannes Reinecke 2016-10-18 302 static inline int sd_zbc_setup_reset_cmnd(struct \
scsi_cmnd *cmd) 89d94756 drivers/scsi/sd.h Hannes Reinecke 2016-10-18 303 {
89d94756 drivers/scsi/sd.h Hannes Reinecke 2016-10-18 304 return \
BLKPREP_INVALID; 89d94756 drivers/scsi/sd.h Hannes Reinecke 2016-10-18 305 }
89d94756 drivers/scsi/sd.h Hannes Reinecke 2016-10-18 306
5e9f074f drivers/scsi/sd.h Damien Le Moal 2017-02-28 307 static inline unsigned \
int sd_zbc_complete(struct scsi_cmnd *cmd, 89d94756 drivers/scsi/sd.h Hannes Reinecke \
2016-10-18 308 unsigned int good_bytes, 89d94756 drivers/scsi/sd.h Hannes \
Reinecke 2016-10-18 @309 struct scsi_sense_hdr *sshdr) {} 89d94756 \
drivers/scsi/sd.h Hannes Reinecke 2016-10-18 310 89d94756 drivers/scsi/sd.h \
Hannes Reinecke 2016-10-18 311 #endif /* CONFIG_BLK_DEV_ZONED */ 89d94756 \
drivers/scsi/sd.h Hannes Reinecke 2016-10-18 312 e73aec82 include/scsi/sd.h \
Martin K. Petersen 2007-02-27 313 #endif /* _SCSI_DISK_H */
> > > > > > The code at line 309 was first introduced by commit
> > > > > > 89d9475610771b5e5fe1879075f0fc9ba6e3755f sd: Implement support for ZBC \
> > > > > > devices
> > > > > > TO: Hannes Reinecke <hare@suse.de>
> > > > > > CC: Jens Axboe <axboe@fb.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[".config.gz" (application/gzip)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic