Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1176691

Re: [PATCH] virtio scsi: fix unused variable warning

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject Re: [PATCH] virtio scsi: fix unused variable warning
Date 2015-07-03 18:10 +0200
Message-ID <pIbHj-2fv-3@gated-at.bofh.it> (permalink)
References <pGS43-2RW-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 30, 2015 at 10:59:04AM +1000, Stephen Rothwell wrote:
> Fixes:
> 
> drivers/scsi/virtio_scsi.c: In function 'virtscsi_probe':
> drivers/scsi/virtio_scsi.c:952:11: warning: unused variable 'host_prot' [-Wunused-variable]
>   int err, host_prot;
>            ^
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

Thanks, this looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] virtio scsi: fix unused variable warning Stephen Rothwell <sfr@canb.auug.org.au> - 2015-06-30 03:00 +0200
  Re: [PATCH] virtio scsi: fix unused variable warning Christoph Hellwig <hch@lst.de> - 2015-07-03 18:10 +0200

csiph-web