Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6146873iog; Thu, 23 Jun 2022 12:18:42 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vaD20/WkVVEOYBZTPjGUB0JN6IekgFK3IVL4djJolMnePGde0lByX9ujMJl/t39oC27Wu2 X-Received: by 2002:a17:902:6941:b0:168:b5f7:4bce with SMTP id k1-20020a170902694100b00168b5f74bcemr40605162plt.104.1656011922691; Thu, 23 Jun 2022 12:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656011922; cv=none; d=google.com; s=arc-20160816; b=MEHZijAr7GoPLDJQn5PO1Lekl9ivMTGH1eKO5g8TKtD8g7SjRkBnczBE8sYVB8KiE0 DgmEGwD4xM7O/slCCn5lwuObAj7+3qviFU5Pk9oRvovpIO89E/awRI79bGDJBnD+91jH YJfMakZFiCWy/ILPKtBr1XEfZUeCU3J0qmnqUk2SdDU8GU1nEouSnwaBuZQXpzSvi+6z KeWxEtvW9LEtPw1TjkMdDsk3z5+FHs4GqYP56xgdSIvwbclGLn9Lv8Kdimc3CgEW/rN/ tkZNU+eBpYH1nyACPHa/MmR3CZwGBOh1llNgn6iG2L9zxYkGKWOoqKygqLs/54PJq7wW dCXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=XcA0V8KHpPASce+DZArbM2K6hfqweEiVSLPu3NsSfNM=; b=WZF/Py2bIuruWlrFgEsRgqeG8ba6EcBw82H0z+2q9WcpnZ3NNVVhcHC57WekrbKWd4 C6p9M08EcOGUxxNoNNKZq+Em3Ka8yh/Jys6tbMNkxtuHyQ8nqKVkIMeF81JBaeCGWZVN uxaXr2yRg5+pTJI0mnMfANf2fOZQ8INkqaY7kt008HOssi1DGfIDOzCnHMqNpJiQZ68F QWhtPA5FPnmXQVXvOPnmVCyMD3GTojj1q1Z/u8zR5XKHr/AsefCu4hjx34XdVIEJgv0r G13YL649Y2jbBFPoFIPueYwjohpW8XGOP+j0O8B2Lz/VgLa77RcPiU4HorDDI4q5CYTA akFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AgIVXLbv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l16-20020a170903245000b00162078ec850si291796pls.520.2022.06.23.12.18.31; Thu, 23 Jun 2022 12:18:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AgIVXLbv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235711AbiFWSEB (ORCPT + 99 others); Thu, 23 Jun 2022 14:04:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235875AbiFWSC0 (ORCPT ); Thu, 23 Jun 2022 14:02:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 963A8B4A8E; Thu, 23 Jun 2022 10:16:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2E77C61DF2; Thu, 23 Jun 2022 17:16:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E417EC3411B; Thu, 23 Jun 2022 17:16:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656004611; bh=m1t48f8J1t5GlS2HZ+kgwhOatWjtlZrYDKKdcmlt4Co=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AgIVXLbv8JTwmKI35PHvT2c3rHdlQzq7tPYq4Jfw0DFXDhuM4MKt8MXxqXPqueh8k yH7+3kylneIYfAoKJ8rX2DXlVjfLDv4c2xl7jcRvEff6jGFGof+WSvIqFNMAA39ZES JE5so6Gggc4lqCai3mW6HJLoyiAv/AiLiSkV7e1c= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thomas Gleixner , Theodore Tso , Dominik Brodowski , "Jason A. Donenfeld" Subject: [PATCH 4.19 094/234] random: add proper SPDX header Date: Thu, 23 Jun 2022 18:42:41 +0200 Message-Id: <20220623164345.717993308@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623164343.042598055@linuxfoundation.org> References: <20220623164343.042598055@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Jason A. Donenfeld" commit a07fdae346c35c6ba286af1c88e0effcfa330bf9 upstream. Convert the current license into the SPDX notation of "(GPL-2.0 OR BSD-3-Clause)". This infers GPL-2.0 from the text "ALTERNATIVELY, this product may be distributed under the terms of the GNU General Public License, in which case the provisions of the GPL are required INSTEAD OF the above restrictions" and it infers BSD-3-Clause from the verbatim BSD 3 clause license in the file. Cc: Thomas Gleixner Cc: Theodore Ts'o Cc: Dominik Brodowski Reviewed-by: Greg Kroah-Hartman Signed-off-by: Jason A. Donenfeld Signed-off-by: Greg Kroah-Hartman --- drivers/char/random.c | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1,44 +1,9 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) /* - * random.c -- A strong random number generator - * * Copyright (C) 2017-2022 Jason A. Donenfeld . All Rights Reserved. - * * Copyright Matt Mackall , 2003, 2004, 2005 - * * Copyright Theodore Ts'o, 1994, 1995, 1996, 1997, 1998, 1999. All * rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, and the entire permission notice in its entirety, - * including the disclaimer of warranties. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote - * products derived from this software without specific prior - * written permission. - * - * ALTERNATIVELY, this product may be distributed under the terms of - * the GNU General Public License, in which case the provisions of the GPL are - * required INSTEAD OF the above restrictions. (This clause is - * necessary due to a potential bad interaction between the GPL and - * the restrictions contained in a BSD-style copyright.) - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF - * WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR - * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. */ /*