Hi, [auto build test WARNING on block/for-next] [also build test WARNING on next-20160617] [cannot apply to v4.7-rc3] [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/Shaun-Tancheff/Add-bio-request-flags-for-using-ZBC-ZAC-commands/20160620-021844 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next config: i386-randconfig-x005-06192356 (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): drivers/scsi/sd.c: In function 'sd_setup_zone_action_cmnd': >> drivers/scsi/sd.c:1209:15: warning: unused variable 'nr_bytes' [-Wunused-variable] unsigned int nr_bytes = blk_rq_bytes(rq); ^~~~~~~~ >> drivers/scsi/sd.c:1208:18: warning: unused variable 'disk' [-Wunused-variable] struct gendisk *disk = rq->rq_disk; ^~~~ >> drivers/scsi/sd.c:1206:14: warning: unused variable 'bio' [-Wunused-variable] struct bio *bio = rq->bio; ^~~ >> drivers/scsi/sd.c:1204:22: warning: unused variable 'sdp' [-Wunused-variable] struct scsi_device *sdp = cmd->device; ^~~ vim +/nr_bytes +1209 drivers/scsi/sd.c 1198 return ret; 1199 } 1200 1201 static int sd_setup_zone_action_cmnd(struct scsi_cmnd *cmd) 1202 { 1203 struct request *rq = cmd->request; > 1204 struct scsi_device *sdp = cmd->device; 1205 struct scsi_disk *sdkp = scsi_disk(rq->rq_disk); > 1206 struct bio *bio = rq->bio; 1207 sector_t sector = blk_rq_pos(rq); > 1208 struct gendisk *disk = rq->rq_disk; > 1209 unsigned int nr_bytes = blk_rq_bytes(rq); 1210 int ret = BLKPREP_KILL; 1211 u8 allbit = 0; 1212 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data