From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.71 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794485729; b=W2vv3tyGa9dF1milQxKlCYEKCMqP8oixLRt2XPerk8vTzKyoY7ZlFX79qUEt5F8yf+Zp e7c4rvCMmy2CaTeV7idSm4hV91OOhyzI478tZTeP5Oh5qfR6hTJyZyKEc4o61fwDraOQ/ Ry5mBY1bZVMjWf5ZExRoZvkQjzBLRgyIbSafHu0rXFG7PEyk5mPx5pX+TU+PZIAKLmYbU 4eS29rDmYH7uMDlgOMWrQfKPnaNT5F77+qvEbCoQFyFq7pHAfvKLaA++7YWImza8oxJFG Y04cDSE8Kxxs/jI3vmeL65nTTGSs8K8u/AwuXU4tcE+pnqZDyW+aJDula8/+TvbqWeg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794485729; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:X-Mailer:Message-ID:Subject:From:To:Cc: Content-Type; bh=0oAQige8Qi/rgMVB+Bcnts0omvPc1rRAyqyWh8s/v8M=; b=ww2vIZo3zuYOPC2uNgfqmRgQS6alH8KHSjMK5xmt5OUN0woNvC17nzlQAXrI3XtsgV81 ctVnSjBgCUpzBNMjgfXMq+x78tqMOnPsNKZjDKn3p8CO7dFT12yAJ4+wn7tsq+SDdDa6x LkJSBb+z1C2q3LehpjC2C8O/JUHbCtEvMVqpYAvQSB/y9liZ5ArBmP6KQep/k1VrjTOKk feFSgPuUn+T1Ne3CL+6aiSkRSKqPGuF5VIHVu/+HIi/hAsTga8Nx8UKskTqNIwl5N9Zj6 Xtyg+glVtydudcYjPT/56K8qVtC4iaY/T6V7PLvsFEwfAX7KQcIiSXSIDk1XyUJzXIQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--gprocida.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=fHx7NtAt; arc=none smtp.remote-ip=209.85.221.71 Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9CE4606A32D for ; Thu, 12 Nov 2026 12:15:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A9CE4606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--gprocida.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=fHx7NtAt Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-48e0461e040so3233181f8f.0 for ; Thu, 12 Nov 2026 04:15:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1794485727; x=1795090527; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=0oAQige8Qi/rgMVB+Bcnts0omvPc1rRAyqyWh8s/v8M=; b=fHx7NtAtHWvLUnhuF+i8gi1BVSUFdl7Rx0BLSLZny3JUMgRnVIxWo4fLTUlb6qH9V5 Krg9XigaFNHvxqvcF1NZcPTAwnqT62zkaoIWIBgf4eHtvpaz/js4UwviRpr/EhHwzW55 eNg6Yv6OcTj5Bc48pj7KRWtyvp+1e480q/G3iNkR8mwSyHtupc2SbCCkp6nDpf0WvddN JBIXdXB6cTe0Lp8rDRdxV6xR01pZ/7nqd7voB0BH4UGkcrZ3+g+Oc+otUiS/XWCMklR9 S59h+buTV4hVvk6OmSumIb7GQeBzisnvLfnOpRK6ptBfXduArLHw2m0Jx54ggiE4EEXV lbnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794485727; x=1795090527; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=0oAQige8Qi/rgMVB+Bcnts0omvPc1rRAyqyWh8s/v8M=; b=bl/EBaq+P0YRWLBjkNVyv9K7YdbqVUo/wfWfZBaRDZl098NLQzEPcEYiOcIijUjAsB HUy5WlQ7yfa+kJUhDMooKKyBrDjtZFDiRLKxIiHNHo7XrJ7H3UeympUkgKIgJ624dmoZ Nl+Qsm0bSUIMRJXDJ1KpUsaRrcqQsUqcWwW/Wa08MyArhqRyH4d0O/kGrDKj1vREtHd4 8A9jd9n36u031s6FELzoypBCtdnwWHPL8OVlC6fOTM6xoFdIqLcUSmHlCNTBPYuNNWjk y+tb+zu0q/beJkrqD9Y7X+qk+YK6uGbS/5nO8IxTUMq021YHPbCvJbukS16S3A4RPPgh JFZQ== X-Forwarded-Encrypted: i=1; AL+hErHzg1ZSpXh/9oPVrWFGw/6z2WaYAnFES4NrPWWbDrrHwxjdbDAAXVl/RW6nfZN2wITZA+OJdQI4n1wWjR5UmA==@vger.kernel.org X-Gm-Message-State: APuU4Z9GBMurEvBOAqDZRXUJplL8ticnV8kYn0mqO2GxLtrivVc8Xs2w ASIs2PVX9VuI3qUgj30k34rh5GDAOSQvtpwdQgwq4mdRmC7vxS0sq98g9PAxCw/9/JdXCc10u/f sPX5Eqhg45s9pJw== X-Received: from wrxp2.prod.google.com ([2002:a05:6000:182:b0:48d:ed12:7c4c]) (user=gprocida job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:83c7:b0:4a0:23f:8b0d with SMTP id 5b1f17b1804b1-4ba09321cd4mr94371755e9.2.1794485726822; Thu, 12 Nov 2026 04:15:26 -0800 (PST) Date: Thu, 12 Nov 2026 12:15:12 +0000 In-Reply-To: <20261112121512.1670347-1-gprocida@google.com> X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261112121512.1670347-1-gprocida@google.com> X-Mailer: git-send-email 2.56.0.567.gdb80ae8cd5-goog Message-ID: <20261112121512.1670347-5-gprocida@google.com> Subject: [PATCH v5 4/4] scripts/sbom: update rust export macro in nm parser test From: Giuliano Procida To: Miguel Ojeda Cc: Miguel Ojeda , rust-for-linux@vger.kernel.org, Alice Ryhl , Boqun Feng , Gary Guo , "=?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?=" , Benno Lossin , Andreas Hindborg , Trevor Gross , Danilo Krummrich , Daniel Almeida , Tamir Duberstein , Alexandre Courbot , "=?UTF-8?q?Onur=20=C3=96zkan?=" , linux-modules@vger.kernel.org, Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , Giuliano Procida Content-Type: text/plain; charset="UTF-8" Update the sample `rust/Makefile` export generation command in `test_nm` to match the conversion from `EXPORT_SYMBOL_RUST_GPL(%s);` to `EXPORT_SYMBOL_GPL(%s)`. Signed-off-by: Giuliano Procida --- scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py b/scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py index 93787a1cd156..4f7ee1142cd8 100644 --- a/scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py +++ b/scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py @@ -214,7 +214,7 @@ class TestSavedCmdParser(unittest.TestCase): # nm command tests def test_nm(self): - cmd = """llvm-nm -p --defined-only rust/core.o | awk '$$2~/(T|R|D|B)/ && $$3!~/__(pfx|cfi|odr_asan)/ { printf "EXPORT_SYMBOL_RUST_GPL(%s);\n",$$3 }' > rust/exports_core_generated.h""" + cmd = """llvm-nm -p --defined-only rust/core.o | awk '$$2~/(T|R|D|B)/ && $$3!~/__(pfx|cfi|odr_asan)/ { printf "EXPORT_SYMBOL_GPL(%s)\n",$$3 }' > rust/exports_core_generated.h""" expected = "rust/core.o" self._assert_parsing(cmd, expected) -- 2.56.0.567.gdb80ae8cd5-goog