2020-12-07 09:17:34

by Johan Hovold

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Johan Hovold <[email protected]>
---
include/linux/module.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/module.h b/include/linux/module.h
index ebe2641d7b0b..b63db970fd26 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -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
--
2.26.2


2020-12-07 12:05:45

by Jessica Yu

[permalink] [raw]
Subject: Re: [PATCH] module: drop semicolon from version macro

+++ Johan Hovold [07/12/20 10:13 +0100]:
>Drop the trailing semicolon from the MODULE_VERSION() macro definition
>which was left when removing the array-of-pointer indirection.
>
>Signed-off-by: Johan Hovold <[email protected]>

Applied, thanks!

Jessica

>---
> include/linux/module.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/include/linux/module.h b/include/linux/module.h
>index ebe2641d7b0b..b63db970fd26 100644
>--- a/include/linux/module.h
>+++ b/include/linux/module.h
>@@ -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
>--
>2.26.2
>