Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp478469iob; Wed, 18 May 2022 06:25:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYLu6EdjNMRFDXcXaeYCThiD9JrkMU/SeLmcF0Dhiz4rHpY93RPEKtX7/G1kATRTWwN5nm X-Received: by 2002:a17:90a:b001:b0:1dd:30b9:1a45 with SMTP id x1-20020a17090ab00100b001dd30b91a45mr42565698pjq.132.1652880349822; Wed, 18 May 2022 06:25:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652880349; cv=none; d=google.com; s=arc-20160816; b=oMHc8zk0TO0y1xLJeKgZdIbjPOe5Or2V9p0Si0EvagZRl27GeqrkiT4opytFKH4Z8Z 7HVdzL2kpKQa5CDdxTlqRdicTKDXS9WRWfFtknbTH6LWE3bkE9KYGTnterMVFRX6YBV7 5GMbqF7ocN4Syb13JHTMq2CAl4//aR1AMI6XhQ8FwPNBzeOnMORwe/9zMxEg3kTdpBAB FNHqEAg9rbFp79+uPX7Okf2HkfYNfmWhEVo04WRsJazcfMLXZYBJ4VJjELSd/1S8U95Y AG3/Aly07yQMCt6wd8Yg4iFjV5roSHkyDNq3NqEl7hx/iKUv+apCINHyGkPtlXPtDXJ1 Dw7A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=riCdYgYm6xWR+07QfZ5ZGl294AJhNyVhkZnipGK9nxE=; b=DL2HrGelPKGK+0pQe9MRlR3nKfjN1JPqXyPi4V89QsrWckS4lzdgFjiQ3QAXrAR+1U FtV2OYydXiVCJCT67BRS7/erh9OW/9z5Oj5I6aAzRl7NxhZRfsU+lrRxIlGIflGYuPK2 n3CkG7sNmkwCsOlNsqfhN7fhAQp1Ao2Jxmf1cTe1H026OYjwvpX8QdbkAf3qE/8X8tnv M+O3h+MDpOdWGrACo8/ngrBWdCcisuLpCsR8yWTcMCnOssPDvjIcKHihVNaNfnQIRWh3 OXsuVkPaTSHjQOg8cxCZIprC3ce3u4q/8PehtlUGrYHoOoPTCSSlmR7xMpXGQieJLAEx ycEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=AedMgvm1; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d129-20020a636887000000b003f5f32a50adsi2582218pgc.705.2022.05.18.06.25.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 06:25:49 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=AedMgvm1; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5F85615A3D0; Wed, 18 May 2022 06:24:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237767AbiERNYK (ORCPT + 99 others); Wed, 18 May 2022 09:24:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237755AbiERNYG (ORCPT ); Wed, 18 May 2022 09:24:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81DF714AF4D; Wed, 18 May 2022 06:23:58 -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 8C505617C1; Wed, 18 May 2022 13:23:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89F71C385AA; Wed, 18 May 2022 13:23:57 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="AedMgvm1" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1652880235; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=riCdYgYm6xWR+07QfZ5ZGl294AJhNyVhkZnipGK9nxE=; b=AedMgvm17KpzdenpHUkrbYOR9YrwdPYmjUW/kJw7USjbosMsJurspfiwDPnaBZyaTMwCDd P6O6QBmW1Ryk4oxvcoj/DZILksm6VAucnfqOADav7XLYEMlrj5HWV8xzSmySfNLimtS54t D7cG5aDXyEw4pvAMqJbtOKwHGDTr3LA= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 2d46933c (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 18 May 2022 13:23:54 +0000 (UTC) From: "Jason A. Donenfeld" To: linux-kernel@vger.kernel.org, linux-spdx@vger.kernel.org Cc: "Jason A. Donenfeld" , Thomas Gleixner Subject: [PATCH] siphash: add SPDX tags as sole licensing authority Date: Wed, 18 May 2022 15:23:45 +0200 Message-Id: <20220518132345.40615-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URI_HEX autolearn=no 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 The text "dual BSD/GPLv2 license" is somewhat ambiguous, and moving this over to SPDX is overdue. This commit adds SPDX tags to the relevant files and clarifies that it's GPLv2 only and 3-clause BSD. It also removes the old text, so that the SPDX tags are the only source of the information. Suggested-by: Thomas Gleixner Signed-off-by: Jason A. Donenfeld --- include/linux/siphash.h | 5 ++--- lib/siphash.c | 5 ++--- lib/test_siphash.c | 7 +++---- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/include/linux/siphash.h b/include/linux/siphash.h index 3af1428da559..9153e77382e1 100644 --- a/include/linux/siphash.h +++ b/include/linux/siphash.h @@ -1,6 +1,5 @@ -/* Copyright (C) 2016 Jason A. Donenfeld . All Rights Reserved. - * - * This file is provided under a dual BSD/GPLv2 license. +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ +/* Copyright (C) 2016-2022 Jason A. Donenfeld . All Rights Reserved. * * SipHash: a fast short-input PRF * https://131002.net/siphash/ diff --git a/lib/siphash.c b/lib/siphash.c index 71d315a6ad62..15bc5b6f368c 100644 --- a/lib/siphash.c +++ b/lib/siphash.c @@ -1,6 +1,5 @@ -/* Copyright (C) 2016 Jason A. Donenfeld . All Rights Reserved. - * - * This file is provided under a dual BSD/GPLv2 license. +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) +/* Copyright (C) 2016-2022 Jason A. Donenfeld . All Rights Reserved. * * SipHash: a fast short-input PRF * https://131002.net/siphash/ diff --git a/lib/test_siphash.c b/lib/test_siphash.c index a6d854d933bf..a96788d0141d 100644 --- a/lib/test_siphash.c +++ b/lib/test_siphash.c @@ -1,8 +1,7 @@ -/* Test cases for siphash.c +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) +/* Copyright (C) 2016-2022 Jason A. Donenfeld . All Rights Reserved. * - * Copyright (C) 2016 Jason A. Donenfeld . All Rights Reserved. - * - * This file is provided under a dual BSD/GPLv2 license. + * Test cases for siphash.c * * SipHash: a fast short-input PRF * https://131002.net/siphash/ -- 2.35.1