Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp234478ybb; Fri, 3 Apr 2020 01:32:07 -0700 (PDT) X-Google-Smtp-Source: APiQypKaQ2ZMtRKODbVh8/0klIuxEUMC24BoFfXqAJDw8yU8wdMHFmn8ryfNGueXVYD/ssltOXfW X-Received: by 2002:aca:ec16:: with SMTP id k22mr2155884oih.177.1585902726890; Fri, 03 Apr 2020 01:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585902726; cv=none; d=google.com; s=arc-20160816; b=1HbdUoh0UusOF5Ok4vyqczyg+4sR+zXHhJNIT253RbnEZuNheM+p542X61IYxC84kJ 9lcOQrpfd6TsibL+tzjq4p7ftn6sr0Plu+XLhw0OB4bUeFlm9c/1BLjfrmYaGXvKAG7N l0zIsJ4sosNI0yefI8M3EWYCOiXCWKpwsZVtex5Jbaz+SZwLd2rNvChk02wsZIdKIxqf AvZe8k6n1ZjNP7u5RknSsviOUlhCPFu5XXRnO2umQye0G1GKCW5qhDD7m8BpaXqMooD8 FZ7VKHDE2BnR3Flcfa0hy8Kxn1A72JaIBZTUtuj4eqHxGt/O9r980VQYgbpAKZ7WeS1l BeLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=oNePCKvCxUpIIS0f2ZbYU7jLe+9Z1XA0+v4YImT1gPc=; b=BqhPOKpfSpCt02eAiF4rMHSU/qgLHdNvxK/j5zEOGfsNNaZ92AhiCsUBkm+p/7eUd6 ycAqT++DPuIrzb3VZfn3OClhKK9NZOuTkbPh1Pq8rWQzcCOMuFhgFxj35kpj9ek0lvip SxJg2oVlC9oyclFB8mRWcu6DHE+aLef31c1GEUEtGumxQKgHiPSa+sSFgd5ojnZ3YXER MSsw+dtUoZC6EYTuuz8KWIGw7uDJX7DZsAD0s9m3m+GHtHs6T0dlAcXujSKRIbnrj2i9 kDsbp7LcAGHAMahXTdt4H7tkbytk9Kc36vFJznluwis3E4MqW+pWQw4xfaLcTpxbJBvB l3Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=Fh3XWJDc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z25si3360604otp.310.2020.04.03.01.31.52; Fri, 03 Apr 2020 01:32:06 -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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=Fh3XWJDc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390462AbgDCIbC (ORCPT + 99 others); Fri, 3 Apr 2020 04:31:02 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:54322 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389876AbgDCIbC (ORCPT ); Fri, 3 Apr 2020 04:31:02 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0338OeTf056043; Fri, 3 Apr 2020 08:30:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=oNePCKvCxUpIIS0f2ZbYU7jLe+9Z1XA0+v4YImT1gPc=; b=Fh3XWJDcRKgJNcBua9lUzc/+L3/EUI5I3ScY7oaxgqSABO88x+BFmuxWhz5N6yTR0mSD DvR+e2jxZIHvG0KZpcYMfvJYsS4zSoBYMyJSJBxYRqfypzqqybSb69Jij3MC9hpdcXn6 embcvUUulZtut1h5nqM4NDh95T6lByt/tR/BL7DDM5OIN6ZdOJQVQ7L4NVFyZmgDE6h6 T+8RWGz9ULvEyLjORP2MFGrpn3djtT5tIwVkgtVrS/9630RgMClTClr6S4TSNpEOpBii 8Iw7dKRRDnWZf9aLhn9iOSgqr85gkvTOhxv29pRJxAAz51r0isxSYa+wAw+y/OyH5uhk dA== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 303yunj9ku-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 03 Apr 2020 08:30:53 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0338NA8X010005; Fri, 3 Apr 2020 08:30:53 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 304sjs422x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 03 Apr 2020 08:30:53 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0338Upce019918; Fri, 3 Apr 2020 08:30:51 GMT Received: from kadam (/41.57.98.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 03 Apr 2020 01:30:51 -0700 Date: Fri, 3 Apr 2020 11:30:43 +0300 From: Dan Carpenter To: "John B. Wyatt IV" Cc: outreachy-kernel@googlegroups.com, Ioana Radulescu , Ioana Ciornei , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Subject: Re: [PATCH] staging: fsl-dpaa2: ethsw: Fix parenthesis alignment Message-ID: <20200403083043.GW2001@kadam> References: <20200402023310.816245-1-jbwyatt4@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200402023310.816245-1-jbwyatt4@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9579 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 adultscore=0 mlxscore=0 malwarescore=0 phishscore=0 suspectscore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004030071 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9579 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 lowpriorityscore=0 malwarescore=0 adultscore=0 priorityscore=1501 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 impostorscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004030071 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 01, 2020 at 07:33:10PM -0700, John B. Wyatt IV wrote: > Fix 2 parenthesis alignment issues. > > Reported by checkpatch. > > Signed-off-by: John B. Wyatt IV > --- > drivers/staging/fsl-dpaa2/ethsw/ethsw.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c > index 676d1ad1b50d..546ad376df99 100644 > --- a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c > +++ b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c > @@ -1094,7 +1094,8 @@ static int swdev_port_obj_del(struct net_device *netdev, > > static int > ethsw_switchdev_port_attr_set_event(struct net_device *netdev, > - struct switchdev_notifier_port_attr_info *port_attr_info) > + struct switchdev_notifier_port_attr_info > + *port_attr_info) I feel like the end result is worse than the original code because of how the type and the parameter name are on different lines. Sorry. :/ regards, dan carpenter