Skip to contentSkip to conversation

module: drop semicolon from version macro

PATCH Applied Johan Hovold 2 participants 2 messages Dec 7, 2020 Module support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 module: drop semicolon from version macro

Drop the trailing semicolon from the MODULE_VERSION() macro definition which was left when removing the array-of-pointer indirection.

---
 include/linux/module.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/module.h +1 -1
index ebe2641d7b0b..b63db970fd26 100644
@@ -279,7 +279,7 @@ extern typeof(name) __mod_##type##__##name##_device_table		\
 			},						\
 			.module_name	= KBUILD_MODNAME,		\
 			.version	= _version,			\
-		};
+		}
 #endif
 
 /* Optional firmware file (or files) needed by the module
Signature · 1 line
2.26.2
Applied
#1 lore raw

+++ Johan Hovold [07/12/20 10:13 +0100]:

Quoted 4 lines

Drop the trailing semicolon from the MODULE_VERSION() macro definition which was left when removing the array-of-pointer indirection.

Applied, thanks!

Jessica

Quoted 20 lines

---
include/linux/module.h | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/module.h +1 -1
index ebe2641d7b0b..b63db970fd26 100644
@@ -279,7 +279,7 @@ extern typeof(name) __mod_##type##__##name##_device_table		\
 			},						\
 			.module_name	= KBUILD_MODNAME,		\
 			.version	= _version,			\
-		};
+		}
 #endif
 
 /* Optional firmware file (or files) needed by the module
Signature · 1 line
2.26.2