Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp950403pxb; Fri, 22 Apr 2022 15:08:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7FyW2rRohBnRznG8hNgZG+4ggBb934VrFv5E3yDCir0pli8wGqmGONgJilDlUZtCFMag1 X-Received: by 2002:aa7:83d0:0:b0:50c:eb2b:8e8a with SMTP id j16-20020aa783d0000000b0050ceb2b8e8amr5761064pfn.31.1650665313578; Fri, 22 Apr 2022 15:08:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650665313; cv=pass; d=google.com; s=arc-20160816; b=fBu1jYj9KBWxyk3zJ9BZ9jeNtTqnuhDlXPXwkTD8L9W5s6EgdLiVSIqm1qyZxWvCGC 8/f0wcrEJh2lg6AvVBW5AhcgsBi52Atk6dZKuctl8Wh5HQQvSTHaXvln3lJhQdFt3qeD QJIVG2iAfCPJ5leUiA9iRLQUlIbNvZ0T5sLAsrjkCn2orucNPd2McwCDb1qm4tJKfk+s xy7/F2He4VQYS/RyoXf7cBkikHLmoxxNV4yQOgJUJ3VuJYOJX+xZEuCkB92CxLkhbDeu F0hPOJPKCjbXZOkABQJffl09BP1eAbjsdDN2loE0oaqp1duSSFxnVXZLCtHu72nb3TqL Xz5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=IEbTlEHBco6bM/sBsZPaWqmbm2GFOUKzhkIYsZxfAx4=; b=fWbQEaw/xUOzs6DqoEn1Ts0D7AYRej8CmtWB5whJdD8BX6QxaINqSX33ct7lGk1YIr DmFBB3zbtx94CxUg0os5H17EE8Ami+bWOwSkPI/qLXNm7Z4tiPsGElVb1wm7lDaHV6Et 1j6KbOXzsFZZ4VRcI9VUws1krZpfG2mXEAqPNYz4JLBBhez7cYDlBWMB06v+CUaF7FTB uM0I/zXCR2eQWp0+Sg9gfR9Uc22vBcFS0rBKgvH1RZQMV08y+OLfmSfOPIDHpL8dmTYs wQCKyPRmvERlnN8K5WgcfieGkrbnqlHnV+OfNPlbXqu4We9oq/7UGO6GyEYgE6dfgIOA VmYQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=iqUWhsh0; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id m24-20020a170902bb9800b0015866d0a301si9083693pls.399.2022.04.22.15.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 15:08:33 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=iqUWhsh0; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D57A335CA7A; Fri, 22 Apr 2022 13:14:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382953AbiDVM7x (ORCPT + 99 others); Fri, 22 Apr 2022 08:59:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1445713AbiDVM7t (ORCPT ); Fri, 22 Apr 2022 08:59:49 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2049.outbound.protection.outlook.com [40.107.92.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C217B57155; Fri, 22 Apr 2022 05:56:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YwfwKgpAoflphA9iNFIFoVG85W3UGdZGMWu91GazDPfwafrTYroTPGuYYYGkaNcK/9MQKgZ9R6GsIfKe8rFwspCgIbxpTo2LiCeFsVlX5QXha2czSaSX4SuDUjdQzkb2crjvN0Urs6C+vPHklB6TLAGBB8D5WdBnmPltQjwa9FWOYgOHgMhYnpRGk3WDkwsT+5d6UE7XQerd0I0S36kFvR9/xCpm4y7wvOjUh3fKfK2DBQcqRcDZ4XlxeEoaWfjK1sVULUNDOKZuW8oQwfsXxq92OTTICjbKkRLEkGTnzjcQ03eCNgYbJcknpmIT6JEn6FLEoGJWDfa8rwdRwG+54A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IEbTlEHBco6bM/sBsZPaWqmbm2GFOUKzhkIYsZxfAx4=; b=WnWBQHZFq3Fe5MTTD7mMOMvWTKAxHrohAwL5/03X/YY5coJIjWAk6XfNRBX52IObqO1xzXnodrH1bRaiK4YQDvd4+4IELHZyoCknru1Ykm3rLMix4k4v1+yl9HOvF4j8nzkCfnEp0kjLCN2gD4IpBFPweXPq3+UNbNb/QrCSFcbV+q0J0WTZm4uXR0kig4bKm/NEJiEfpwze7EK1w9YOIK6omAQ89hHFG++A479N6jSaOI3d2QmYOjl2StuyDvR+NMYadnMUf9J36Kt/2BOR2DIxErcM1O6ypBWc8eLmW9/9PYca5yuQIyfGo87t7jnBu1F3znt7pHS66Wf9Ej7IZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=xilinx.com; dmarc=pass action=none header.from=xilinx.com; dkim=pass header.d=xilinx.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IEbTlEHBco6bM/sBsZPaWqmbm2GFOUKzhkIYsZxfAx4=; b=iqUWhsh05mrT/jj40pykx+R8EjiAMNp2IACY96RrC5HwepOajmWKtNCSfwI124cZTkWUxfxaLkqun8HI9PTuAh8DcOgqrWAR5oSpKwxFbsjVv+nvS8a6hcgFvGAOiLsrboVbLk1NZrHn4A4aSM0rQseucj5upXhM9H6/48Ds1M8= Received: from SA1PR02MB8560.namprd02.prod.outlook.com (2603:10b6:806:1fb::24) by BYAPR02MB5862.namprd02.prod.outlook.com (2603:10b6:a03:11b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.14; Fri, 22 Apr 2022 12:56:52 +0000 Received: from SA1PR02MB8560.namprd02.prod.outlook.com ([fe80::f8bc:753c:d997:24de]) by SA1PR02MB8560.namprd02.prod.outlook.com ([fe80::f8bc:753c:d997:24de%3]) with mapi id 15.20.5186.015; Fri, 22 Apr 2022 12:56:52 +0000 From: Radhey Shyam Pandey To: Shubhrajyoti Datta , "linux-gpio@vger.kernel.org" CC: git , Michal Simek , "linux-kernel@vger.kernel.org" , Shubhrajyoti Datta Subject: RE: [PATCH] gpio: xilinx: Trivial patch Thread-Topic: [PATCH] gpio: xilinx: Trivial patch Thread-Index: AQHYJ+5SXJDI9ULDFk2U38/oBwuucqz8Ps4A Date: Fri, 22 Apr 2022 12:56:52 +0000 Message-ID: References: <20220222131548.17513-1-shubhrajyoti.datta@xilinx.com> In-Reply-To: <20220222131548.17513-1-shubhrajyoti.datta@xilinx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=xilinx.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 38bc9999-d29d-44b4-2502-08da245f92b6 x-ms-traffictypediagnostic: BYAPR02MB5862:EE_ x-ld-processed: 657af505-d5df-48d0-8300-c31994686c5c,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 78qrvI5UTgx0mq7QFpC3mcXKhy5mWXOTSkVHNMfRzwzATcgO5mX+5XkZvA5v8OtWx2sSfXmoOmfJf1lLR8YBLTEEWO/5GJbNYBd6RMJ2ZrmLsIZs7iuXrEO94ZT/UZ7xuYjyejaAHCKLWfCZP0vlxxJ4sCFtp9AzjDAiOlyx3FhmTfWrBxsWUUjSPCNAOGeCt0kvUek13XVYXmbmJ7+q++w9Dv7/j+YmTuMq1+WjTaP0ZN1ama/MdJTIM9nh6OfBJDF5iOOC1AuJf+/lf2fMjzEI1XVK2bRLiQOC7hzSUAs89D2K8G+MOqWwh4VX3+Q5iIsKnqcvQVn8XkFPFBQ963kTv2DbzKmo4jPl8svth59pODxG8C6hjAeAdPs9II2fz6UsleYP6M5EMS/QP1emsGs+V8og2HdS/LWPTdQcS1xYpvLi/Yw4v6cMtWEK6uKbSSagMWTla1R73gsXmyFy+jw0AJMB+ThSv+Ow9f9/FNotiqKA7iMFzkZPsVpalMY/dTHohSn0puHpJfT/Nh/L6gMGcuBNwuMU9shagA7GarH40ZtF4eh+eHKT/v3iw4uFGhWfxXj+3ckNp9jZhlXRAPuVDkIjrkNHreBGyv1UJURcYSm1qQjxhaLsOlaftRDqtENrtl4ss90BA372vV563PqaTUfsRf2jL+p+oLQ/4wUCIsPM5u+rMXlX2/y1df16vFZdvbFm031r3OqFMJ7VlQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR02MB8560.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(186003)(38070700005)(55016003)(38100700002)(508600001)(122000001)(52536014)(71200400001)(8936002)(83380400001)(107886003)(54906003)(86362001)(26005)(2906002)(33656002)(5660300002)(6506007)(9686003)(53546011)(8676002)(316002)(66556008)(66946007)(76116006)(66476007)(66446008)(64756008)(110136005)(7696005)(4326008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?A9GT/aKIcfu8/vNu67Z47Gv6CGG9M8ErxoDQEyhmDh7lNijrtZnP7dwNLAL2?= =?us-ascii?Q?9/7kxxwytSqi7PqkeBJz9lpQA0wQqdqk3+9AoAzCNsWxd7GMFWGGHsaQ2pgG?= =?us-ascii?Q?Rt1FaTMAwHlyPOWCr7yjONexsiZHSjK3naAYBOdXYXN/KnAuchPiEiSay022?= =?us-ascii?Q?Oj3JNfDFW9ojr0fA6WP2zg9efQVE68ZT5VzqFaeISisBidiwN5H4ofNtEfWL?= =?us-ascii?Q?xwMkbOPWswrBKU4+4WTOjdDg5e0+XJOwJhNCMLuqj7LEi9+315BjgxfPHCbO?= =?us-ascii?Q?vuLbobfU8QFwayaJVGonTnhrHqUXJlxNNCdy5VahoFzCj83IQf5gqlCgk7SH?= =?us-ascii?Q?7w/ea20S0iEDOhZlBC6XVoCSSY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ii?Q?mKCaASTJv1eqmEAWdL+IAy75/N0tX9kAPPqBLB96I4F5uo/fxrAk9OKhInCi?= =?us-ascii?Q?M4eqCBMJ2kbWWkrByvuD4GHWBSNw7zTc5dXr540lsa/x9KkjWhjrRkxkdRxQ?= =?us-ascii?Q?laVd5F5Cft1UnQXblUWaM/PPARmyzNLBrwWPbfHQpVc/3wvspeSjpvgPxJ5V?= =?us-ascii?Q?8AbXzklite1xloAZou+ruCaaZG4wjoHhsZtDZis3Cc4QkTNwmm7ev+s9ZPRh?= =?us-ascii?Q?H4UsTrHbPvPbWO7M2L0vrMy2dXZoj31Maj0e6yX+NeRzWxL27DpQN6s26iqE?= =?us-ascii?Q?Wmsr1IiCuxuB+W7XrNdDAmbbEHInFMNAlG7Kjqt70heiU0mcmjkC5IxJiDnc?= =?us-ascii?Q?7KbX/xjJrkhOkQoPU0l5VFI8NiLaprEhYRUM9RuDv1TXkN+pr0ID2Mqe+0h2?= =?us-ascii?Q?/pYT+7pZUOduVKeBTGZ+zFUQCYuOYHz5xsdtKBkH3L3+VSnxH3nn6eU1HTrI?= =?us-ascii?Q?aEKpyjXPQw=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR02MB8560.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 38bc9999-d29d-44b4-2502-08da245f92b6 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2022 12:56:52.7781 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 96vXn7MPt4bVKln2y+aXsUcaRF5NDbN4PyVXcMWGImNvVsnCEIYlTyMtpbGJOcH47CEZvH9QPZjYSzXcTJF8Ag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR02MB5862 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Shubhrajyoti Datta > Sent: Tuesday, February 22, 2022 6:46 PM > To: linux-gpio@vger.kernel.org > Cc: git ; Michal Simek ; linux- > kernel@vger.kernel.org; Shubhrajyoti Datta > Subject: [PATCH] gpio: xilinx: Trivial patch Minor nit - Better to say about the change instead of "trivial patch". gpio: xilinx: add missing blank line after declarations >=20 > Add a missing blank line. No functional changes. >=20 > WARNING: Missing a blank line after declarations > 128: FILE: drivers/gpio/gpio-xilinx.c:120: > + void __iomem *addr =3D chip->regs + reg + xgpio_regoffset(chip, b= it / 32); > + xgpio_set_value32(a, bit, xgpio_readreg(addr)); >=20 > WARNING: Missing a blank line after declarations > 136: FILE: drivers/gpio/gpio-xilinx.c:126: > + void __iomem *addr =3D chip->regs + reg + xgpio_regoffset(chip, b= it / 32); > + xgpio_writereg(addr, xgpio_get_value32(a, bit)); >=20 > Signed-off-by: Shubhrajyoti Datta Reviewed-by: Radhey Shyam Pandey Thanks! > --- > drivers/gpio/gpio-xilinx.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/drivers/gpio/gpio-xilinx.c b/drivers/gpio/gpio-xilinx.c inde= x > b6d3a57e27ed..7f129e7eae78 100644 > --- a/drivers/gpio/gpio-xilinx.c > +++ b/drivers/gpio/gpio-xilinx.c > @@ -117,12 +117,14 @@ static inline int xgpio_regoffset(struct xgpio_inst= ance > *chip, int ch) static void xgpio_read_ch(struct xgpio_instance *chip, in= t reg, > int bit, unsigned long *a) { > void __iomem *addr =3D chip->regs + reg + xgpio_regoffset(chip, bit / > 32); > + > xgpio_set_value32(a, bit, xgpio_readreg(addr)); } >=20 > static void xgpio_write_ch(struct xgpio_instance *chip, int reg, int bit= , > unsigned long *a) { > void __iomem *addr =3D chip->regs + reg + xgpio_regoffset(chip, bit / > 32); > + > xgpio_writereg(addr, xgpio_get_value32(a, bit)); } >=20 > -- > 2.17.1