Skip to contentSkip to conversation

net: wl1251: remove trailing semicolon in macro definition

PATCH In review [email protected] 2 participants 2 messages Nov 27, 2020 – Dec 2, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: wl1251: remove trailing semicolon in macro definition

From: Tom Rix <[email protected]>

The macro use will already have a semicolon.

---
 drivers/net/wireless/ti/wl1251/debugfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ti/wl1251/debugfs.c +1 -1
index d48746e640cc..a1b778a0fda0 100644
@@ -39,7 +39,7 @@ static const struct file_operations name## _ops = {			\
 
 #define DEBUGFS_ADD(name, parent)					\
 	wl->debugfs.name = debugfs_create_file(#name, 0400, parent,	\
-					       wl, &name## _ops);	\
+					       wl, &name## _ops)	\
 
 #define DEBUGFS_DEL(name)						\
 	do {								\
Signature · 1 line
2.18.4
#1 lore raw

Re: wl1251: remove trailing semicolon in macro definition

Quoted 5 lines · [email protected] wrote:

From: Tom Rix <[email protected]>

The macro use will already have a semicolon.

Patch applied to wireless-drivers-next.git, thanks.

fc6877b87982 wl1251: remove trailing semicolon in macro definition

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches