Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4734492ybi; Mon, 3 Jun 2019 16:39:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEOhasdindI2khLZNcRvzXl6zsFckBDrwig3oKrjF1zkMRFwIHArcgu3oKH+gdIZH7Ic0M X-Received: by 2002:a63:2355:: with SMTP id u21mr30240876pgm.205.1559605170555; Mon, 03 Jun 2019 16:39:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559605170; cv=none; d=google.com; s=arc-20160816; b=TD/KwQwap8hq/JsLyfypWp51qlegQ5MixAtaM4ntr8FekBu4NQq92QuwUAcUR2zYba RMV1jhvG24Ixt3xjpSm9Gh+wla56mXpu9l6mYPUrLf5ciSMgWaDW5SeTTC6bagnPupJS uUxinkRtQrnHpy9r2IXgwm9Ep6oQcEAI0uYdEfhzU8gQJjrnLPVafXPOnbgy58gBM4HQ yXyFxsea1JVwFD+p1/jaIzQNSHeBFA5MM+cwYiHwY+URYUzSOBjQsLCVf0PJkxXfvMBj Q3FBprYn8UMM9DGd8gaQ5TD4xDSzNBQTQlkffMgMfj4A6V7/LaZ06aFjeAOUoqC7ztQA 8qgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject; bh=Hr3xG0+z0N8xOCE6BUnugpMr1lp7UTLjlQlO+hDyA2g=; b=HwSN2n8MjUQnHgH+xzAOcKbst/RnTu0k57oFHIDMnrSnEiJwIulX7oxpFFwj37HVM4 fol+HGxJ7dNUPTIIqwvqTEAPysl7zRBsd9swbFKcBa0QrL4DYDQigsofhRh1U44bxYOm edgMucXFdRyPvxVGCcjIHZvG5zNR/1D1IAxpQvVipC3f2v5CGV1Vs6FCD93bqyE8bMtt lGln5znc0NHmCyu/VLgd2znLVXLibjXeTVxLCU+nHnKMpSEmFAkW27N9SEWVcRGDpBBz hLA/BztVzg1M8etJNtVr/OarGGF3b+hYLC2BjOTSXb66BaYZZOGrPxLS6pQv1C0boPpP 2U7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4si22180244plb.402.2019.06.03.16.39.14; Mon, 03 Jun 2019 16:39:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726305AbfFCXhf (ORCPT + 99 others); Mon, 3 Jun 2019 19:37:35 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:36636 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbfFCXhf (ORCPT ); Mon, 3 Jun 2019 19:37:35 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x53NX0Ng023654 for ; Mon, 3 Jun 2019 19:37:34 -0400 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0a-001b2d01.pphosted.com with ESMTP id 2swa3rqer5-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 03 Jun 2019 19:37:33 -0400 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 4 Jun 2019 00:37:32 +0100 Received: from b01cxnp22036.gho.pok.ibm.com (9.57.198.26) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 4 Jun 2019 00:37:30 +0100 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x53NbT0141681234 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 3 Jun 2019 23:37:29 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1E1FDAC05E; Mon, 3 Jun 2019 23:37:29 +0000 (GMT) Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 57E8AAC05B; Mon, 3 Jun 2019 23:37:28 +0000 (GMT) Received: from oc6857751186.ibm.com (unknown [9.85.191.102]) by b01ledav006.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 3 Jun 2019 23:37:28 +0000 (GMT) Subject: Re: linux-next: build warning after merge of the scsi tree To: Stephen Rothwell , James Bottomley Cc: Linux Next Mailing List , Linux Kernel Mailing List , "Martin K. Petersen" References: <20190531133612.35276ad9@canb.auug.org.au> From: Tyrel Datwyler Date: Mon, 3 Jun 2019 16:37:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190531133612.35276ad9@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19060323-0060-0000-0000-0000034BA045 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00011210; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000286; SDB=6.01212852; UDB=6.00637412; IPR=6.00993912; MB=3.00027171; MTD=3.00000008; XFM=3.00000015; UTC=2019-06-03 23:37:31 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19060323-0061-0000-0000-0000499C4BA1 Message-Id: <03f28c08-f38b-f04e-a541-f5e441aff690@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-03_19:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906030158 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/30/2019 08:36 PM, Stephen Rothwell wrote: > Hi all, > > After merging the scsi tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > drivers/scsi/ibmvscsi/ibmvscsi.c: In function 'ibmvscsi_work': > drivers/scsi/ibmvscsi/ibmvscsi.c:2151:5: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] > if (rc) { > ^ > drivers/scsi/ibmvscsi/ibmvscsi.c:2121:6: note: 'rc' was declared here > int rc; > ^~ > > Introduced by commit > > 035a3c4046b5 ("scsi: ibmvscsi: redo driver work thread to use enum action states") > Looks like somebody else noticed the warning and a proposed fix was already sent out. -Tyrel