Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1482524
| From | "Bryant G. Ly" <bryantly@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: linux-next: build warning after merge of the scsi tree |
| Date | 2016-09-13 16:20 +0200 |
| Message-ID | <sgWJ3-31X-15@gated-at.bofh.it> (permalink) |
| References | <sgNmp-4WR-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 9/12/16, 11:15 PM, "Stephen Rothwell" <sfr@canb.auug.org.au> wrote:
> Hi James,
>
> After merging the scsi tree, today's linux-next build (powerpc
> allyesconfig) produced this warning:
>
> drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c: In function 'ibmvscsis_rdma':
> drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:3190:20: warning: unused variable 'srp' [-Wunused-variable]
> struct srp_cmd *srp = (struct srp_cmd *)iue->sbuf->buf;
> ^
>
> Introduced by commit
>
> 812902159d41 ("scsi: ibmvscsis: Code cleanup of print statements")
Looks like cleaning up the print statement made this variable unused so deleting that line would be best.
-Bryant
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
linux-next: build warning after merge of the scsi tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-09-13 06:20 +0200
Re: linux-next: build warning after merge of the scsi tree "Bryant G. Ly" <bryantly@linux.vnet.ibm.com> - 2016-09-13 16:20 +0200
Re: linux-next: build warning after merge of the scsi tree "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-09-15 16:00 +0200
csiph-web