Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752827AbdLNObN (ORCPT ); Thu, 14 Dec 2017 09:31:13 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:38225 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752661AbdLNObJ (ORCPT ); Thu, 14 Dec 2017 09:31:09 -0500 X-Google-Smtp-Source: ACJfBosdXBuzW07UiRZUAOY5BKTILM9ebZpXyrDP2TY00R22hDBLLcLQS5w9p0tnhXsKo1O89exX4LHZzdmHTWfz7n4= MIME-Version: 1.0 In-Reply-To: <1513260170-26346-5-git-send-email-gilad@benyossef.com> References: <1513260170-26346-1-git-send-email-gilad@benyossef.com> <1513260170-26346-5-git-send-email-gilad@benyossef.com> From: Philippe Ombredanne Date: Thu, 14 Dec 2017 15:30:27 +0100 Message-ID: Subject: Re: [PATCH 04/10] staging: ccree: staging: ccree: replace sysfs by debugfs interface To: Gilad Ben-Yossef Cc: Greg Kroah-Hartman , Ofir Drang , LKML , linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1609 Lines: 48 Gilad, On Thu, Dec 14, 2017 at 3:02 PM, Gilad Ben-Yossef wrote: > The ccree driver has had a none standard sysfs interface for debugging. > Replace it with a proper debugfs interface. > > Signed-off-by: Gilad Ben-Yossef > --- /dev/null > +++ b/drivers/staging/ccree/cc_debugfs.c > @@ -0,0 +1,114 @@ > +/* > + * Copyright (C) 2012-2017 ARM Limited or its affiliates. > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free Software Foundation. > + * > + * 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. > + * > + * You should have received a copy of the GNU General Public License > + * along with this program; if not, see . > + */ Could you use the new SPDX tags instead of this fine and long boilerplate? See Thomas doc for details [1] You could spare the world from ~14 lines of this fine legalese with this: // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2012-2017 ARM Limited or its affiliates. If you wonder about the C++ style comment, read Thomas doc patches [1] and check the comments made on the list by Linus. If you could spread the word out in your team too, this would be much welcomed! Thanks! [1] https://lkml.org/lkml/2017/12/4/934 -- Cordially Philippe Ombredanne