Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759310AbdLSFSs (ORCPT ); Tue, 19 Dec 2017 00:18:48 -0500 Received: from mail-ma1ind01on0124.outbound.protection.outlook.com ([104.47.100.124]:15381 "EHLO IND01-MA1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752301AbdLSFSr (ORCPT ); Tue, 19 Dec 2017 00:18:47 -0500 From: Dhaval Shah To: Greg KH CC: "arnd@arndb.de" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 3/3] misc: ad525x_dpot: macros should not use a trailing semicolon Thread-Topic: [PATCH 3/3] misc: ad525x_dpot: macros should not use a trailing semicolon Thread-Index: AQHTb/xtDCI4izVNEUq1b5g9mIKrEqNJQlYAgADuzI4= Date: Tue, 19 Dec 2017 05:18:42 +0000 Message-ID: References: <20171208081305.15153-1-dhaval.shah@softnautics.com> <20171208081305.15153-4-dhaval.shah@softnautics.com>,<20171218150200.GA15318@kroah.com> In-Reply-To: <20171218150200.GA15318@kroah.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=dhaval.shah@softnautics.com; x-originating-ip: [219.65.63.222] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BM1PR01MB0498;6:cJtH4fh5JIr9j38vPmigFnUXKcfoQE0bs9Qqald6mnxbAd5W7C51Dx9e2tAuunSE1nj6UBNTDYVu9+z+oFMsfA0ecekXs0uQ2BRYOYU/2lrA2ApmKWC62n9IZXOf/MR7lY+H7kL/+piZm7dqnUrSB82l4yFDW/ZYTJWIgh+1B/uXrGnRdiOt/qUJhft2NgJ+D8BrebYPerzSpfmSgbGKdj3pNR10f+hmacozc+PBM5ZrjkbpOLXHOU8L6ZMxomDmSNOkFLL7Cv20UwuJzh1oOzuc9R3MsLV8AhvFJZ2V0Qr4kTOC+QYKygG1+uhAbSvo7DwgNyBXe4EzyyXtYGdeB0W6VagBi+KCEWCQrpbjtpE=;5:hC7JVjt6EybSw5VLZ2aeZiCPSo9Eow6UX67d0/DTj3LPTVEOvJ6ljTntRYwsLXVX8Wm2MjQcXEtI8A9fvVXT+9UEDOSk534nae4VOCZtDFr2briVhovcOlxJWEOHj5ZtmBSFG2Dag6yuYJDldVxyEPfWTpXGlrY18ys+ZmWT5k0=;24:XeYbBq/zd174OaqH44lRorAKtWvl4g0u92o0ceBj9AP9k18H+SYYsSoBfxV89dPPkffo0Xlv8aFAvSJXPYWFs671g/24zwmsjQkjEx4zzPU=;7:yRNzhyOpxeHQwiB3Rwo1WhS++COLZyBLEOTUjQUOhwKlshstXLkHgskCQ8tHyHzzwyxP7QLZ335bkLP6FrF8QfxEvvKXs2wIo78UV3kbgcEU+O7XkZ7zpywYUH3BdzQfTx2Q4CeUyTkq77NMwrMSo0GfmaD5H+jfraPGfLNeurOxF+90j4kAdXos7/HJLnx6bT5mU+qnWBzun6FkkRjjouLGxhCbyk4Xcie5WmJnQlxrWSM1NSRf11UB58kY/Lq6 x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 3b4377cc-6333-43a8-939b-08d5469ff8ec x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(5600026)(4604075)(4534020)(4602075)(4603075)(4627115)(201702281549075)(2017052603307);SRVR:BM1PR01MB0498; x-ms-traffictypediagnostic: BM1PR01MB0498: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(5005006)(8121501046)(3231023)(10201501046)(3002001)(93006095)(93001095)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(2016111802025)(20161123560025)(20161123562025)(6072148)(6043046)(201708071742011);SRVR:BM1PR01MB0498;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:BM1PR01MB0498; x-forefront-prvs: 052670E5A4 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(396003)(39830400003)(366004)(376002)(189003)(199004)(24454002)(4326008)(6246003)(25786009)(8936002)(6916009)(2950100002)(106356001)(33656002)(478600001)(2900100001)(6436002)(77096006)(229853002)(55016002)(9686003)(3280700002)(68736007)(5660300001)(53936002)(66066001)(105586002)(305945005)(7696005)(53546011)(7736002)(3660700001)(59450400001)(316002)(2906002)(76176011)(97736004)(6506007)(74316002)(99286004)(86362001)(3846002)(8676002)(81156014)(6116002)(102836003)(54906003)(14454004)(81166006);DIR:OUT;SFP:1102;SCL:1;SRVR:BM1PR01MB0498;H:BM1PR01MB0500.INDPRD01.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-OriginatorOrg: softnautics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b4377cc-6333-43a8-939b-08d5469ff8ec X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2017 05:18:42.6853 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 17b76cff-50c6-4f7a-9198-dd4afc5f8bea X-MS-Exchange-Transport-CrossTenantHeadersStamped: BM1PR01MB0498 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id vBJ5IrrC030892 Content-Length: 1437 Lines: 39 Hi Greg k-h, ________________________________________ > From: Greg KH > Sent: Monday, December 18, 2017 8:32 PM > To: Dhaval Shah > Cc: arnd@arndb.de; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 3/3] misc: ad525x_dpot: macros should not use a trailing semicolon > > On Fri, Dec 08, 2017 at 01:43:05PM +0530, Dhaval Shah wrote: > > Resolved all the macros should not use a trailing semicolon > > checkpatch warnings. Issue found by checkpatch. > > > > Signed-off-by: Dhaval Shah > > --- > > drivers/misc/ad525x_dpot.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/misc/ad525x_dpot.c b/drivers/misc/ad525x_dpot.c > > index 577f5e76c8a8..bc591b7168db 100644 > > --- a/drivers/misc/ad525x_dpot.c > > +++ b/drivers/misc/ad525x_dpot.c > > @@ -515,11 +515,11 @@ set_##_name(struct device *dev, \ > > #define DPOT_DEVICE_SHOW_SET(name, reg) \ > > DPOT_DEVICE_SHOW(name, reg) \ > > DPOT_DEVICE_SET(name, reg) \ > > -static DEVICE_ATTR(name, S_IWUSR | S_IRUGO, show_##name, set_##name); > > +static DEVICE_ATTR(name, S_IWUSR | S_IRUGO, show_##name, set_##name) > > This should be using DEVICE_ATTR_RW() instead of DEVICE_ATTR(), care to > fix that up in a follow-on patch for this driver? > Sure. I will update this change in follow-on patch for this driver once this patch set merged. Thanks, Dhaval > thanks, > > greg k-h