From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758062AbcIMOKC (ORCPT ); Tue, 13 Sep 2016 10:10:02 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:49566 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750951AbcIMOJ7 (ORCPT ); Tue, 13 Sep 2016 10:09:59 -0400 X-IBM-Helo: d03dlp02.boulder.ibm.com X-IBM-MailFrom: bryantly@linux.vnet.ibm.com User-Agent: Microsoft-MacOutlook/f.1a.0.160903 Date: Tue, 13 Sep 2016 09:09:53 -0500 Subject: Re: linux-next: build warning after merge of the scsi tree From: "Bryant G. Ly" To: Stephen Rothwell , James Bottomley CC: , , "Martin K. Petersen" , Michael Cyr Thread-Topic: linux-next: build warning after merge of the scsi tree References: <20160913141546.648845fb@canb.auug.org.au> In-Reply-To: <20160913141546.648845fb@canb.auug.org.au> Mime-version: 1.0 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: 7bit X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16091314-0004-0000-0000-00001059C613 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00005754; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000185; SDB=6.00757259; UDB=6.00359056; IPR=6.00530626; BA=6.00004715; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00012661; XFM=3.00000011; UTC=2016-09-13 14:09:56 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16091314-0005-0000-0000-000078D52785 Message-Id: <47697E90-DAB1-4940-834A-E7932044928C@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-09-13_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609020000 definitions=main-1609130208 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/12/16, 11:15 PM, "Stephen Rothwell" 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