[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1fup1z2qs.fsf@sermon.lab.mkp.net>
Date: Thu, 15 Sep 2016 09:55:39 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: "Bryant G. Ly" <bryantly@...ux.vnet.ibm.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
James Bottomley <James.Bottomley@...senPartnership.com>,
<linux-next@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Michael Cyr <mikecyr@...ux.vnet.ibm.com>
Subject: Re: linux-next: build warning after merge of the scsi tree
>>>>> "Bryant" == Bryant G Ly <bryantly@...ux.vnet.ibm.com> writes:
Bryant> On 9/12/16, 11:15 PM, "Stephen Rothwell" <sfr@...b.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")
Bryant> Looks like cleaning up the print statement made this variable
Bryant> unused so deleting that line would be best.
Please submit a patch to do so.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists