From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756103AbdLVNfV (ORCPT ); Fri, 22 Dec 2017 08:35:21 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:38881 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752949AbdLVNfR (ORCPT ); Fri, 22 Dec 2017 08:35:17 -0500 X-Google-Smtp-Source: ACJfBou7rCWt8G+fpMcwrnVtbwA0Xs5fRPYDtXCMIa7QTQ0+7DSoT8O8bgFwU8DvDg5eKctkwhJK/4qLOSiCW3c3gBk= MIME-Version: 1.0 In-Reply-To: <20171222132338.30054-1-l.stelmach@samsung.com> References: <20171204125351.26805-3-l.stelmach@samsung.com> <20171222132338.30054-1-l.stelmach@samsung.com> From: Philippe Ombredanne Date: Fri, 22 Dec 2017 14:34:35 +0100 Message-ID: Subject: Re: [PATCH v4] hwrng: exynos - add Samsung Exynos True RNG driver To: =?UTF-8?Q?=C5=81ukasz_Stelmach?= Cc: "Andrew F . Davis" , PrasannaKumar Muralidharan , Rob Herring , Matt Mackall , Herbert Xu , Krzysztof Kozlowski , Kukjin Kim , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-crypto@vger.kernel.org, linux-samsung-soc@vger.kernel.org, LKML , Marek Szyprowski , Bartlomiej Zolnierkiewicz 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-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id vBMDZPmU030111 Łukasz, On Fri, Dec 22, 2017 at 2:23 PM, Łukasz Stelmach wrote: > Add support for True Random Number Generator found in Samsung Exynos > 5250+ SoCs. > > Signed-off-by: Łukasz Stelmach > Reviewed-by: Krzysztof Kozlowski > --- /dev/null > +++ b/drivers/char/hw_random/exynos-trng.c > @@ -0,0 +1,245 @@ > +/* > + * RNG driver for Exynos TRNGs > + * > + * Author: Łukasz Stelmach > + * > + * Copyright 2017 (c) Samsung Electronics Software, Inc. > + * > + * Based on the Exynos PRNG driver drivers/crypto/exynos-rng by > + * Krzysztof Kozłowski > + * > + * 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; > + * > + * 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. > + */ Would you mind using the new SPDX tags documented in Thomas patch set [1] rather than this fine but longer legalese? And if you could spread the word to others in your team this would be very nice. See also this fine article posted by Mauro on the Samsung Open Source Group Blog [2] Thank you! > +MODULE_LICENSE("GPL"); Per module.h this means GPL2 or later. This is not matching your license above which does not state any version and therefore would mean GPL1 or later, Please make sure you use something and common rather than this and make sure your MODULE_LICENSE is consistent with the top level license. Was it this way in the code from Krzysztof? [1] https://lkml.org/lkml/2017/12/4/934 [2] https://blogs.s-osg.org/linux-kernel-license-practices-revisited-spdx/ -- Cordially Philippe Ombredanne