Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6045533iog; Thu, 23 Jun 2022 10:11:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tGDVk1KZcBZSrU94sJrOdwI2x0ikWx7dKGfWMkd3VxoJaH8J9eqt9ryF3kUbBoiu6+WU+7 X-Received: by 2002:a17:906:e104:b0:711:d510:54ca with SMTP id gj4-20020a170906e10400b00711d51054camr3459797ejb.342.1656004261501; Thu, 23 Jun 2022 10:11:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656004261; cv=none; d=google.com; s=arc-20160816; b=xkeCsALe/uOeXQzu+0VVZqXCqq9dWw8kV6Mibcd5Q4vVhuTXJWSvZvKhbStCq6A9zB qJ6Az5ZwMNMNtjxIMSnQO2V9HmqAji18fdQVP7Pa2ynXX5LagivdmSI0R7IxVuLE8cCJ mUUexF11AT2UkYHXZwhndbrF1EIiAOBiAPNMZdD45NWBi6USYLmz4mUZbFTV6KHxhakk f25v6igMb2yIbQLsnG2hj7ey+Iy2LNYqMZntmPJRZ3QJd7PY9REmHjgywTRxLYmGc7kR 45ohuFs+URbVDCWLSU+A9Z9eBTf5jWnwegVpg/mPKdqbGxOiyp8vgiRi0a4gjNuzaz1w R4ZQ== 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=ubf4iH4xU0D2y4pvlmjJbwbSGj/9jXtUqBS0ZXd+CEs/2y72/aPIRJOUOfMaeqzmR2 kEHoTI8OsD6HE83vUXySj0ThnF8DF9Z/P0o1urHoEtxFT1xV3T4Nzfouu2YRy2HjxQ4d Gt+5yVGMaGrt9msXSB+u+DlZ4CimLpBzqPBhm80X09v36RIIUaU9ADnotdQ3pux+c2bl UAkB2yFfk5Bw00cbAXOje7UqpqQkJhu7l7IInQRGcoLhLX5ESsUPWPk12o6R3e5IThQ2 tYwvc72W14LuD3V5GxUf3/OtrO+pHg8QSR4/+2rGH6W7+gsD9P2vIfRrWaY3OVYVmkIF uoFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rjFgrAhP; 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 go33-20020a1709070da100b00711f8fa7fffsi8957568ejc.467.2022.06.23.10.10.34; Thu, 23 Jun 2022 10:11:01 -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=rjFgrAhP; 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 S230168AbiFWRBR (ORCPT + 99 others); Thu, 23 Jun 2022 13:01:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232110AbiFWQzl (ORCPT ); Thu, 23 Jun 2022 12:55:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF4D949C96; Thu, 23 Jun 2022 09:53:01 -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 58E1A61FBF; Thu, 23 Jun 2022 16:53:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3076DC3411B; Thu, 23 Jun 2022 16:53:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656003180; bh=m1t48f8J1t5GlS2HZ+kgwhOatWjtlZrYDKKdcmlt4Co=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rjFgrAhPuJkM7/Daai4/WAx0DEAt97gwG3K05wMcefy+t6TuiLXlRoH9mKVJ7RZQl 1kEy37gTVpuokiGb6o6EbFWB3D17e9p+jxdH2JT7YoxXl+jkz8ABWOaWAo6z7psLW+ 8XJtombx3jx6ovKCHTA7gABAsGGELUGKTWqh5szU= 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.9 129/264] random: add proper SPDX header Date: Thu, 23 Jun 2022 18:42:02 +0200 Message-Id: <20220623164347.716505368@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623164344.053938039@linuxfoundation.org> References: <20220623164344.053938039@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. */ /*