Skip to content

Commit 3dd99eb

Browse files
committed
rust: exports: remove trailing semicolon in macro
This deals with the `checkpatch.pl` warning: ```txt WARNING: macros should not use a trailing semicolon +#define EXPORT_SYMBOL_RUST_GPL(sym) extern int sym; EXPORT_SYMBOL_GPL(sym); ``` Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 72b2a9c commit 3dd99eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/exports.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
#include <linux/module.h>
1515

16-
#define EXPORT_SYMBOL_RUST_GPL(sym) extern int sym; EXPORT_SYMBOL_GPL(sym);
16+
#define EXPORT_SYMBOL_RUST_GPL(sym) extern int sym; EXPORT_SYMBOL_GPL(sym)
1717

1818
#include "exports_core_generated.h"
1919
#include "exports_alloc_generated.h"

0 commit comments

Comments
 (0)