Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15669C282DB for ; Mon, 21 Jan 2019 10:43:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DA4F320663 for ; Mon, 21 Jan 2019 10:43:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linaro.org header.i=@linaro.org header.b="Z27qnR4d" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727014AbfAUKn0 (ORCPT ); Mon, 21 Jan 2019 05:43:26 -0500 Received: from mail-it1-f194.google.com ([209.85.166.194]:38269 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726670AbfAUKn0 (ORCPT ); Mon, 21 Jan 2019 05:43:26 -0500 Received: by mail-it1-f194.google.com with SMTP id h65so14489878ith.3 for ; Mon, 21 Jan 2019 02:43:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BQXb0zgoJ2mCoNOejW9tOHoVJWqC6dyFJgLtkR+K7VM=; b=Z27qnR4dsnp7AYzCCgtZ6dyL9Z3KONJQXeXGIMAaSDb/UtUnfoc6A9Az381jndlEi0 dlpiMFeA3VGF98Hgi5g/povXhCcUKmDD7DLoXbnvUvYgQZzylEZFQ97WPvZhS76jhicN FFhdd9OE7BUkW3dt8hlLF5aDJX2U9opvYRryA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BQXb0zgoJ2mCoNOejW9tOHoVJWqC6dyFJgLtkR+K7VM=; b=VDOecXi9Kip0dTNcT3edzcShgbqhGEcNqFpcPZMDFlYlfCdKK9UJGZ/oz0Y3tIHMru 9UIT2XlCPWoH3jMGAPBWj5ch9ReGSeiMAqSI9ydvPkvWuO+ZH5ir/hEuJRKRmIIXDUUA FvPpGiowBv1mQGNYKTuTylwlCWzmYo9oBpdwjzhrRDxacJY9d0oQpdXOdTfC1Q0Cb3YZ SNvUUiJjdWQmK3BLYAYIHG6yUbF03oHZggn0pVZrH7RntFqlVM0B2Lq/dSnMeBBiNjJL xhCcO9YSsgQvFoq06M9TFo7d3pO28j01a9rJcLmgpCwNDsX2J4Zg5QPEOB8OngXc7H2c +sMQ== X-Gm-Message-State: AJcUukcgIj4/9J+vE9V9jLcZ/0EIW8tbUSQ74qAcHVqm/busPdurkQE1 nnvs/GNEwIuaDM3U4fLR3ChTbhYJa5aca48ruYjmUg== X-Google-Smtp-Source: ALg8bN5WGvBMiF44LaTui5bstwU8eNuQkUryJQpFe200XNIaEcVCdAWtEKNAxGYKSfMBhwSsgSfsyx3F1Sgg+th4rPQ= X-Received: by 2002:a24:edc4:: with SMTP id r187mr18358127ith.158.1548067405296; Mon, 21 Jan 2019 02:43:25 -0800 (PST) MIME-Version: 1.0 References: <1548062959-31860-1-git-send-email-sumit.garg@linaro.org> <1548062959-31860-5-git-send-email-sumit.garg@linaro.org> <20190121103026.GB15590@kroah.com> In-Reply-To: <20190121103026.GB15590@kroah.com> From: Ard Biesheuvel Date: Mon, 21 Jan 2019 11:43:14 +0100 Message-ID: Subject: Re: [PATCH v4 4/4] hwrng: add OP-TEE based rng driver To: Greg KH Cc: Sumit Garg , Jens Wiklander , Herbert Xu , linux-arm-kernel , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , Linux Kernel Mailing List , mpm@selenic.com, Rob Herring , Mark Rutland , Arnd Bergmann , Daniel Thompson , Bhupesh Sharma , tee-dev@lists.linaro.org Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, 21 Jan 2019 at 11:30, Greg KH wrote: > > On Mon, Jan 21, 2019 at 02:59:19PM +0530, Sumit Garg wrote: > > --- /dev/null > > +++ b/drivers/char/hw_random/optee-rng.c > > @@ -0,0 +1,272 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > Nice, but: > > > > > +MODULE_LICENSE("GPL"); > > This string means "GPL2+", you need "GPLv2" here instead. > I think you need a space there: "GPL v2" or it doesn't get picked up correctly (or at least, it didn't use to) > Yeah, it's a pain, and everyone gets it wrong, we need to add a > checkpatch.pl rule for this to keep it from being added in new code. > > thanks, > > greg k-h