Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752376AbdLAFfQ (ORCPT ); Fri, 1 Dec 2017 00:35:16 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:46915 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750892AbdLAFfO (ORCPT ); Fri, 1 Dec 2017 00:35:14 -0500 X-Google-Smtp-Source: AGs4zMavXoPLppcO6M+paJAUAesQ6wE2ym2NmUUwSfr49L/fdhJ81FY8YxZUZKigNAicQ7E6HhQ7CQ== Date: Thu, 30 Nov 2017 21:35:10 -0800 From: Bjorn Andersson To: Philippe Ombredanne Cc: Andy Gross , Ohad Ben-Cohen , Arun Kumar Neelakantam , Chris Lew , LKML , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: Re: [PATCH v4 2/5] soc: qcom: Introduce QMI helpers Message-ID: <20171201053510.GZ28761@minitux> References: <20171130011644.9421-1-bjorn.andersson@linaro.org> <20171130011644.9421-3-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1823 Lines: 55 On Thu 30 Nov 00:18 PST 2017, Philippe Ombredanne wrote: > Bjorn, > > On Thu, Nov 30, 2017 at 2:16 AM, Bjorn Andersson > wrote: > [] > > diff --git a/drivers/soc/qcom/qmi_interface.c b/drivers/soc/qcom/qmi_interface.c > > new file mode 100644 > > index 000000000000..4027b52b0834 > > --- /dev/null > > +++ b/drivers/soc/qcom/qmi_interface.c > > @@ -0,0 +1,857 @@ > > +/* > > + * Copyright (C) 2017 Linaro Ltd. > > + * > > + * This software is licensed under the terms of the GNU General Public > > + * License version 2, as published by the Free Software Foundation, and > > + * may be copied, distributed, and modified under those terms. > > + * > > + * 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. > > + */ > > Could it make sense, especially for new files, to use the new SPDX ids > and avoid adding boilerplate that will need to be cleaned up later? > e.g. something like this instead, using the new conventions started by > greg-kh and by documented tglx? > > NB: the // comment style is not a mistake and is what Linus wants > there. See the threads on this topic. > > > @@ -0,0 +1,857 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * Copyright (C) 2017 Linaro Ltd. > > + */ > > Isn't this shorter and better? :P > That sounds very reasonable, I will update the patches. > BTW, if you need help to fix this on the rest of Linaro contributed > code, I maintain a tool that can help there. > I haven't seen any guidelines on how this should be introduced throughout the kernel, should I make a similar push for the subsystems I maintain? Regards, Bjorn