Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp495015lqo; Thu, 16 May 2024 12:07:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWb6+Mj/qFAJw8HL6GBlTRAwojzkLoVEy14grYc767b6gbzErTkZ8BONJ7+5gYd+V2Qbd6tcYfcdd/FmJ9Mzo9rJ5VFsnbMEeN6IhtzgQ== X-Google-Smtp-Source: AGHT+IGgwogFeY2YDtBKUensbWvLrc1ySbUu+9uZC3U4hI4qZg1oYdoGkvlJGgU84NdFP6fuTeY+ X-Received: by 2002:a50:8d16:0:b0:572:a158:8a7c with SMTP id 4fb4d7f45d1cf-5734d6b3cb3mr11700355a12.42.1715886469266; Thu, 16 May 2024 12:07:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715886469; cv=pass; d=google.com; s=arc-20160816; b=VK93TphTPF4aw/6o8Ws0S2UktPw/H03JXuiTFyjJb4t6Eg2sx11zeHNzXoO8WepgRo kUfGxq3Opl1yLxid0Fk37jYfUAT3gQEoMs0cC45gV4x5ST9stoS2Wmuev/W3Hk1BPAFW EmmTj584MIIdzAuvYYWuZ+eKWo7GHTmK0lCjTl7OmnPSq5KHAiirqWY63rNRKFovGLuf EE1FK+k21GesHN2rZ5Kr04JS0MWNXSJ2QfuPOgiMR5PsGLCU+k5NpVzJKePxjpSodJV4 DZUA3D7SFLmAB5kNDwVejP/Vb6zWgZdVpARcmeMZlv8buT7f1mcrHQEmmEWvSUtg+HQ4 kCyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=B+y082Y8KjvrVBkn/4Dxr8IGelz4ZU6IVUPo0Qa5ojw=; fh=DGE/Rt7UZyKJ8ICVIgmeDLsrdvw5JULr/fcEfbQDVFQ=; b=fNsfnJb38dUg+Cilwo/mRvLUqtQbShKjNVBTxjXNZ9mhkaJWATUZA+4Ed2/+kMCK2k tJ+VLGKrzz79ukPs6TSipD2NQXqxW5SfewA1Zuz94DNl7tEjK+3qannhPUHYHSiiH4MR 7qmX+IlUfPZZHlMHnxxoBy2zw5c65wdrrS7GOOH0ClIQm0PJzXZfLXG4v2g6WHlUJeg7 59h/A2p80Abh4g6ct9I/o6wdHx8PMwdsGu8FPPxcMVoyoWMd/9IDdeuF9OC6/QfFFxYq Ig1isBhxQ5H1/voiI6Nb9EJW5Yg0evwBnxz4zNsiJffd32K43vL7r+tvCtfX5MhxJVZT 7nRg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b="Q98/3hMV"; arc=pass (i=1 spf=pass spfdomain=cisco.com dkim=pass dkdomain=cisco.com dmarc=pass fromdomain=cisco.com); spf=pass (google.com: domain of linux-kernel+bounces-181503-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181503-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cisco.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c36d502si8686200a12.529.2024.05.16.12.07.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 12:07:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181503-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b="Q98/3hMV"; arc=pass (i=1 spf=pass spfdomain=cisco.com dkim=pass dkdomain=cisco.com dmarc=pass fromdomain=cisco.com); spf=pass (google.com: domain of linux-kernel+bounces-181503-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181503-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cisco.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AD2311F224CF for ; Thu, 16 May 2024 19:07:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 54B1915B125; Thu, 16 May 2024 19:05:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=cisco.com header.i=@cisco.com header.b="Q98/3hMV" Received: from aer-iport-5.cisco.com (aer-iport-5.cisco.com [173.38.203.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2FC8C1581FF; Thu, 16 May 2024 19:05:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=173.38.203.67 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715886314; cv=none; b=JOMLicT4oHvbJ0MO+xI55N7XZlTTO2XOcQAMwvkhPwO8zbRZPzT1MSqqZcn5dkVo3wAHYHDdMBupNB4iOyEVR3utnqECyALgu4D38AjjTTBgxobx2cu46YAH1AtaAA6UzCzmiBfeNatmDiSmb8sHvxUQCpwK+t1LgdvjZShYmJM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715886314; c=relaxed/simple; bh=JLavhVFc09FEg9EY6gMPlypJaSPpAewW2C1Acr5xDKw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=EflXRPzJ5xn2hfl9U92jk3OhYDe8ejbQ/3pGhXLjOWqLlMGASRMyLXR6RnqBwkMlzBT7HdDWX0QIij+Beso7bfTetIIeTsNWVsmuJntE2n3NUOZUwZS1QFGjPM3w+s1TDew9xtxYYjmVGCY+4r+7cZonMTvLIOzwFS+F7h5jelk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cisco.com; spf=pass smtp.mailfrom=cisco.com; dkim=pass (1024-bit key) header.d=cisco.com header.i=@cisco.com header.b=Q98/3hMV; arc=none smtp.client-ip=173.38.203.67 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cisco.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cisco.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.com; i=@cisco.com; l=1236; q=dns/txt; s=iport; t=1715886312; x=1717095912; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=B+y082Y8KjvrVBkn/4Dxr8IGelz4ZU6IVUPo0Qa5ojw=; b=Q98/3hMV/0EKTxd++4RCdqVjH+x2Bfg3w+bjhox28KFaCGMzhr+v2omK yg569fPgcI1veznH48oP+Ane/ydXqnJyLDZENnc07m6uYM9h89TgnEoK5 XTXL8qmvERXD+HAdOjkpvv7VXwg7V3+c7mimQeqPlBDPD3qE+HyYwWMIZ E=; X-CSE-ConnectionGUID: O0HGUG50T4C2oJrIvng/bQ== X-CSE-MsgGUID: xtzBqNHyRSisowtvoRep0w== X-IronPort-AV: E=Sophos;i="6.08,165,1712620800"; d="scan'208";a="9839846" Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-5.cisco.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2024 19:04:01 +0000 Received: from localhost (ams3-vpn-dhcp4879.cisco.com [10.61.83.14]) (authenticated bits=0) by aer-core-3.cisco.com (8.15.2/8.15.2) with ESMTPSA id 44GJ40nr017864 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 16 May 2024 19:04:01 GMT From: Ariel Miculas To: rust-for-linux@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, tycho@tycho.pizza, brauner@kernel.org, viro@zeniv.linux.org.uk, ojeda@kernel.org, alex.gaynor@gmail.com, wedsonaf@gmail.com, shallyn@cisco.com, Ariel Miculas Subject: [RFC PATCH v3 03/22] rust: hex: add SPDX license identifiers Date: Thu, 16 May 2024 22:03:26 +0300 Message-Id: <20240516190345.957477-4-amiculas@cisco.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240516190345.957477-1-amiculas@cisco.com> References: <20240516190345.957477-1-amiculas@cisco.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-User: amiculas@cisco.com X-Outbound-SMTP-Client: 10.61.83.14, ams3-vpn-dhcp4879.cisco.com X-Outbound-Node: aer-core-3.cisco.com Add the SPDX license identifiers, since the initial patch added the upstream sources with no modifications whatsoever. Signed-off-by: Ariel Miculas --- rust/hex/error.rs | 2 ++ rust/hex/lib.rs | 2 ++ rust/hex/serde.rs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/rust/hex/error.rs b/rust/hex/error.rs index ff7a3b5c16bd..e553a046c9ed 100644 --- a/rust/hex/error.rs +++ b/rust/hex/error.rs @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT + use core::fmt; /// The error type for decoding a hex string into `Vec` or `[u8; N]`. diff --git a/rust/hex/lib.rs b/rust/hex/lib.rs index ec48961b9ffe..a23def3f80db 100644 --- a/rust/hex/lib.rs +++ b/rust/hex/lib.rs @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT + // Copyright (c) 2013-2014 The Rust Project Developers. // Copyright (c) 2015-2020 The rust-hex Developers. // diff --git a/rust/hex/serde.rs b/rust/hex/serde.rs index 335a15132a27..40ab1edb2bc8 100644 --- a/rust/hex/serde.rs +++ b/rust/hex/serde.rs @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT + //! Hex encoding with `serde`. #[cfg_attr( all(feature = "alloc", feature = "serde"), -- 2.34.1