Skip to content

Commit

Permalink
rust: exports: remove trailing semicolon in macro
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ojeda committed Aug 1, 2022
1 parent 72b2a9c commit 3dd99eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/exports.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <linux/module.h>

#define EXPORT_SYMBOL_RUST_GPL(sym) extern int sym; EXPORT_SYMBOL_GPL(sym);
#define EXPORT_SYMBOL_RUST_GPL(sym) extern int sym; EXPORT_SYMBOL_GPL(sym)

#include "exports_core_generated.h"
#include "exports_alloc_generated.h"
Expand Down

0 comments on commit 3dd99eb

Please sign in to comment.