Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5375587ybe; Tue, 10 Sep 2019 02:42:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjqp1kCSg1NrJPXF/d11nWxQAPpnPfhoSnZ6/HGA6cHiTrVlO0Ry8NbUUxYXlmHmlMjRkV X-Received: by 2002:a17:906:2451:: with SMTP id a17mr15267626ejb.164.1568108572429; Tue, 10 Sep 2019 02:42:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568108572; cv=none; d=google.com; s=arc-20160816; b=h0zGoQBrc74YEvIZhVWFovQn7Xl4C6EBqmOA0jd+rS/ng1DrT2gwszpbPrnpOsNAwn NtllDYM2937huZYV9CA5PhYsmpqn/3VrCPk8H/FucbWTCkfPdRcoJvitLMBbGL80tZzZ L1/Clj2hGneA5NO5F+tGKYlPKnu2A6Yle6ocY/14kIhXXcYfr1Ovxxver5GppNzOZWxm VE/p6ZmdiQ3PbkQXHFXcQDeBGQ+W5WJkIgpOxPEnXIDTGovPL0ljt2jCpcRJgwX5/Whe cwA/pZmJfXziIYkhtinLa0O8hgk43K/dgpBBgq9e9mMf3izFy/TyuHONVfsPbIIzxa5j bpnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=A3jGiKp6aH4HzxrL0HyXqVFFCYsc0EsENf11EKsgPPg=; b=VFTGycGdyXflj6a5Qp+87SylSBOXuNzjx/d8oOzorCCwR7wTElfSFq9wTGq2Ta15g2 zBFs1CUftuH8FTrc0aYBAP5QAq4//26qZTqrahl1E3y4xcXlJcu6JvhLsp+GgdWQuZKj /HEHRdrmEFVjMzQP4jCrmFOWDYAZcbsq1Tn0EADOm7x6BW2ObvorHgbXLhUf/MU+Jppe MBAMbO+ZcI47hAbMpZrvTxtn1v6peEZaJWjRPzHzHsccBFUySg9WbN4mtk7zPlPrj5NV +4QiG0zbyYqBmA+yH2eZMCfBiYOflIwpPagn9ACMD5i9JAyVoR+x5B6jZlCnq7RxDQx0 GKEw== 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 j14si10356956eda.181.2019.09.10.02.42.27; Tue, 10 Sep 2019 02:42:52 -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 S2391785AbfIIVVg (ORCPT + 99 others); Mon, 9 Sep 2019 17:21:36 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:6940 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726930AbfIIVVg (ORCPT ); Mon, 9 Sep 2019 17:21:36 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x89LHMWW084360; Mon, 9 Sep 2019 17:21:10 -0400 Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0a-001b2d01.pphosted.com with ESMTP id 2uwx5srscx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 09 Sep 2019 17:21:10 -0400 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x89LKCWU022942; Mon, 9 Sep 2019 21:21:09 GMT Received: from b03cxnp08025.gho.boulder.ibm.com (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17]) by ppma04dal.us.ibm.com with ESMTP id 2uv466twy5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 09 Sep 2019 21:21:09 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x89LL7KI57672074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 9 Sep 2019 21:21:07 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B78C4C605A; Mon, 9 Sep 2019 21:21:07 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 189C6C6059; Mon, 9 Sep 2019 21:21:06 +0000 (GMT) Received: from oc6857751186.ibm.com (unknown [9.80.200.46]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 9 Sep 2019 21:21:05 +0000 (GMT) Subject: Re: [PATCH] net/ibmvnic: Fix missing { in __ibmvnic_reset To: Michal Suchanek , netdev@vger.kernel.org, "David S. Miller" , Juliet Kim Cc: linux-kernel@vger.kernel.org, Thomas Falcon , Paul Mackerras , John Allen , linuxppc-dev@lists.ozlabs.org References: <20190909204451.7929-1-msuchanek@suse.de> From: Tyrel Datwyler Message-ID: <060cae7c-48bf-bddd-5086-a2a0d8f02c1a@linux.ibm.com> Date: Mon, 9 Sep 2019 14:21:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190909204451.7929-1-msuchanek@suse.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-09-09_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1909090206 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/9/19 1:44 PM, Michal Suchanek wrote: > Commit 1c2977c09499 ("net/ibmvnic: free reset work of removed device from queue") > adds a } without corresponding { causing build break. > > Fixes: 1c2977c09499 ("net/ibmvnic: free reset work of removed device from queue") > Signed-off-by: Michal Suchanek Reviewed-by: Tyrel Datwyler > --- > drivers/net/ethernet/ibm/ibmvnic.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c > index 6644cabc8e75..5cb55ea671e3 100644 > --- a/drivers/net/ethernet/ibm/ibmvnic.c > +++ b/drivers/net/ethernet/ibm/ibmvnic.c > @@ -1984,7 +1984,7 @@ static void __ibmvnic_reset(struct work_struct *work) > rwi = get_next_rwi(adapter); > while (rwi) { > if (adapter->state == VNIC_REMOVING || > - adapter->state == VNIC_REMOVED) > + adapter->state == VNIC_REMOVED) { > kfree(rwi); > rc = EBUSY; > break; >