[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241211181639.19848-1-eisantosh95@gmail.com>
Date: Wed, 11 Dec 2024 23:46:39 +0530
From: eisantosh95@...il.com
To:
Cc: eisantosh95@...il.com,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>,
rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] rust: Fix EXPORT_SYMBOL_RUST_GPL macro to follow guidelines
From: Santosh Mahto <eisantosh95@...il.com>
Warning found by checkpatch.pl script.
Signed-off-by: Santosh Mahto <eisantosh95@...il.com>
---
rust/exports.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/exports.c b/rust/exports.c
index 587f0e776aba..4b34734d77c8 100644
--- a/rust/exports.c
+++ b/rust/exports.c
@@ -13,7 +13,7 @@
#include <linux/export.h>
-#define EXPORT_SYMBOL_RUST_GPL(sym) extern int sym; EXPORT_SYMBOL_GPL(sym)
+#define EXPORT_SYMBOL_RUST_GPL(sym) EXPORT_SYMBOL_GPL(sym)
#include "exports_core_generated.h"
#include "exports_helpers_generated.h"
--
2.25.1
Powered by blists - more mailing lists