Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751910AbdLMKxk (ORCPT ); Wed, 13 Dec 2017 05:53:40 -0500 Received: from mail-ma1ind01on0098.outbound.protection.outlook.com ([104.47.100.98]:63552 "EHLO IND01-MA1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751870AbdLMKxe (ORCPT ); Wed, 13 Dec 2017 05:53:34 -0500 From: Dhaval Shah To: Philippe Ombredanne CC: "pali.rohar@gmail.com" , Darren Hart , Andy Shevchenko , "platform-driver-x86@vger.kernel.org" , LKML Subject: Re: [PATCH] platform/x86: dell-rbtn: Block comments use * on subsequent lines Thread-Topic: [PATCH] platform/x86: dell-rbtn: Block comments use * on subsequent lines Thread-Index: AQHTc+ueO0Cna25wN0e/W2phGgOFfqNBAKSAgAAFUfSAAATwgIAAC56B Date: Wed, 13 Dec 2017 10:53:30 +0000 Message-ID: References: <20171213082301.23209-1-dhaval.shah@softnautics.com> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email authentication-results: spf=none (sender IP is ) smtp.mailfrom=dhaval.shah@softnautics.com; x-originating-ip: [219.65.63.222] x-microsoft-exchange-diagnostics: 1;BM1PR0101MB1442;6:zKGn37V4m81kqzJLxmbXu/mJU387aphRLcPzqaIa86iJvYeEKr21axHk2aiDF3zqfSyYckteHBnUgujkjzlX81faiSvkD2HSwqYNqtGLOyqalGbvcsxFRIveWM71PhbhFmRsZjOBtIwQB3TP6ONGNUfWo1kpZYmA7nT+563gQFWuhFCPkOl/gCs606eh8JJDfIzPgFKL9Q/Z9XjsVBu9HVzvawbV8XntZSrsKSMUv6zRT+ElPnmFOKpGv9vuXBQ98O1p1j8a9TvW+78SnGV5RzgVMbSW3PbWEjeFuVNHc7PMw/8JZpglt4cUPYymsuRGExnhXT1bByZ6GAae3+/Sd6ZWpTVzFLmAHbSL3VRokW0=;5:tuv1ozq/nAIqfqRrdBn3vq3sNCJJATv8NItOs2LDfpJVBsM2ODkDyUnGhRRzvTqJL0lqLdnkzFwLHgwE81SFz/w+FnpzkpwezFq87Nk1fQVvoKA8JQy0QwloaRTUyt6TLmLyy6VzUO6iIXaATH8eZ7on+UOvVX+Q7O8x0is0N9Q=;24:gA0k7qSz9a3DK6IUTQQbyXIiCno5UTs0Gt5PQnzHv4BZQMXtiBLpJEx+cINW+feVgfpsF33tmHHED0809E71u/GqCCDmABZUyvivfS5KyGg=;7:OzX1538Vbc/1dzi128XsywnBkOUQRd2yYdr+G3CI3ExXuEIiYo8eO64ohHwpap+khI/iKFug5xHZt+3UFDoV21B6U6bPCeZ81XuH3z2hEyQRxJJOYzQjHfSf2bGywwCxD5Xa63lqVPaUGaVt0OZ/fXsHjaDCr3esyr7snBV2IwbqKoqydP+T5OS9UUW5OiTSCkGHPoe7cJRlEYK0mzVLy981qDaTE61HXXzz/m8ObKurtNghe++LRYs4TheUC4NB x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: d0e3c432-9ba1-4057-1c61-08d54217bf34 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(4534020)(4602075)(4603075)(4627115)(201702281549075)(5600026)(4604075)(2017052603307);SRVR:BM1PR0101MB1442; x-ms-traffictypediagnostic: BM1PR0101MB1442: 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)(3002001)(93006095)(93001095)(10201501046)(3231022)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(2016111802025)(20161123562025)(20161123564025)(6072148)(6043046)(201708071742011);SRVR:BM1PR0101MB1442;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:BM1PR0101MB1442; x-forefront-prvs: 052017CAF1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(39830400002)(376002)(346002)(24454002)(189003)(199004)(3660700001)(2906002)(2900100001)(99286004)(966005)(8936002)(106356001)(76176011)(3280700002)(68736007)(5250100002)(55016002)(81156014)(4326008)(86362001)(14454004)(7736002)(53546011)(8676002)(81166006)(305945005)(105586002)(97736004)(59450400001)(25786009)(6862004)(6436002)(6116002)(9686003)(2950100002)(6306002)(229853002)(74316002)(450100002)(7696005)(54906003)(93886005)(478600001)(118296001)(316002)(6246003)(53936002)(3846002)(102836003)(5660300001)(66066001)(6506007)(2004002);DIR:OUT;SFP:1102;SCL:1;SRVR:BM1PR0101MB1442;H:BM1PR0101MB1444.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" Content-ID: MIME-Version: 1.0 X-OriginatorOrg: softnautics.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0e3c432-9ba1-4057-1c61-08d54217bf34 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2017 10:53:30.1243 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 17b76cff-50c6-4f7a-9198-dd4afc5f8bea X-MS-Exchange-Transport-CrossTenantHeadersStamped: BM1PR0101MB1442 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 vBDArh2C001202 Content-Length: 4672 Lines: 111 Hi Philippe, > From: Philippe Ombredanne > Sent: Wednesday, December 13, 2017 3:31 PM > To: Dhaval Shah > Cc: pali.rohar@gmail.com; Darren Hart; Andy Shevchenko; platform-driver-x86@vger.kernel.org; LKML > Subject: Re: [PATCH] platform/x86: dell-rbtn: Block comments use * on subsequent lines > ? > Dhaval, > > On Wed, Dec 13, 2017 at 10:52 AM, Dhaval Shah > wrote: > > HI > > > > Thanks a lot for the review. > > ________________________________________ > > > From: Philippe Ombredanne > > > Sent: Wednesday, December 13, 2017 2:54 PM > > > To: Dhaval Shah > > > Cc: pali.rohar@gmail.com; Darren Hart; Andy Shevchenko; platform-driver-x86@vger.kernel.org; LKML > > > Subject: Re: [PATCH] platform/x86: dell-rbtn: Block comments use * on subsequent lines > > > > > > Dhaval, > > > > > > On Wed, Dec 13, 2017 at 9:23 AM, Dhaval Shah > > > wrote: > > > > Resolved Block comments use * on subsequent lines checkpatch warnings. > > > > Issue found by checkpatch. > > > > > > > > Signed-off-by: Dhaval Shah > > > > --- > > > >? drivers/platform/x86/dell-rbtn.c | 26 +++++++++++++------------- > > > >? drivers/platform/x86/dell-rbtn.h | 26 +++++++++++++------------- > > > >? 2 files changed, 26 insertions(+), 26 deletions(-) > > > > > > > > diff --git a/drivers/platform/x86/dell-rbtn.c b/drivers/platform/x86/dell-rbtn.c > > > > index f3afe778001e..cab93c6dcd34 100644 > > > > --- a/drivers/platform/x86/dell-rbtn.c > > > > +++ b/drivers/platform/x86/dell-rbtn.c > > > > @@ -1,17 +1,17 @@ > > > >? /* > > > > -??? Dell Airplane Mode Switch driver > > > > -??? Copyright (C) 2014-2015? Pali Roh?r > > > > - > > > > -??? This program is free software; you can redistribute it and/or modify > > > > -??? it under the terms of the GNU General Public License as published by > > > > -??? the Free Software Foundation; either version 2 of the License, or > > > > -??? (at your option) any later version. > > > > - > > > > -??? This program is distributed in the hope that it will be useful, > > > > -??? but WITHOUT ANY WARRANTY; without even the implied warranty of > > > > -??? MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.? See the > > > > -??? GNU General Public License for more details. > > > > -*/ > > > > + *?? Dell Airplane Mode Switch driver > > > > + *?? Copyright (C) 2014-2015? Pali Roh?r > > > > + * > > > > + *?? This program is free software; you can redistribute it and/or modify > > > > + *?? it under the terms of the GNU General Public License as published by > > > > + *?? the Free Software Foundation; either version 2 of the License, or > > > > + *?? (at your option) any later version. > > > > + * > > > > + *?? This program is distributed in the hope that it will be useful, > > > > + *?? but WITHOUT ANY WARRANTY; without even the implied warranty of > > > > + *?? MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.? See the > > > > + *?? GNU General Public License for more details. > > > > + */ > > > > > > Do you mind using the new SPDX ids instead of this long legalese? > > > You can check the doc patches from Thomas for details [1] > > > > > > > > > [1] https://lkml.org/lkml/2017/12/4/934 > > This is different issue. If we need to fix the issue of this if we update SPDX licensing as well. > > I am agree with you on the use of the new SPDX IDs instead of the long legalese. > > For this, we have to add the text "// SPDX-License-Identifier: GPL-2.0" at the top of the file and remove the > > whole license part and keep on copyright and Author name related info. After change, it looks like > > // SPDX-License-Identifier: GPL-2.0 > > /* > >? *? Dell Airplane Mode Switch driver > >? *? Copyright (C) 2014-2015? Pali Roh?r > >? */ > > And for a short comment block like this, Linus preference is to avoid > mixing comment style and go all the way C++ style as in: > > > // SPDX-License-Identifier: GPL-2.0 > > // Dell Airplane Mode Switch driver > > // Copyright (C) 2014-2015? Pali Roh?r > > > > ... for even less boilerplate ;) Thanks a lot for the link. Do you want to me to update along with SPDX in this patchset with V2 or we will update in the next patchset once this patch merge? > > > > See Linus comments for a rationale [1] [2] [3] [4] [5] > > > > [1] https://lkml.org/lkml/2017/11/25/133 > > [2] https://lkml.org/lkml/2017/11/25/125 > > [3] https://lkml.org/lkml/2017/11/2/715 > > [4] https://lkml.org/lkml/2017/11/2/805 > > -- > Cordially > Philippe Ombredanne