* [PATCH] mcb: Remove trailing semicolon in macros
@ 2021-06-14 8:26 Huilong Deng
2021-06-15 14:51 ` Johannes Thumshirn
0 siblings, 1 reply; 2+ messages in thread
From: Huilong Deng @ 2021-06-14 8:26 UTC (permalink / raw
To: morbidrsa; +Cc: linux-kernel, Huilong Deng
Macros should not use a trailing semicolon.
Signed-off-by: Huilong Deng <denghuilong@cdjrlc.com>
---
include/linux/mcb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/mcb.h b/include/linux/mcb.h
index 71dd10a3d928..f6efb16f9d1b 100644
--- a/include/linux/mcb.h
+++ b/include/linux/mcb.h
@@ -120,7 +120,7 @@ extern int __must_check __mcb_register_driver(struct mcb_driver *drv,
__mcb_register_driver(driver, THIS_MODULE, KBUILD_MODNAME)
extern void mcb_unregister_driver(struct mcb_driver *driver);
#define module_mcb_driver(__mcb_driver) \
- module_driver(__mcb_driver, mcb_register_driver, mcb_unregister_driver);
+ module_driver(__mcb_driver, mcb_register_driver, mcb_unregister_driver)
extern void mcb_bus_add_devices(const struct mcb_bus *bus);
extern int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev);
extern struct mcb_bus *mcb_alloc_bus(struct device *carrier);
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mcb: Remove trailing semicolon in macros
2021-06-14 8:26 [PATCH] mcb: Remove trailing semicolon in macros Huilong Deng
@ 2021-06-15 14:51 ` Johannes Thumshirn
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Thumshirn @ 2021-06-15 14:51 UTC (permalink / raw
To: Huilong Deng; +Cc: linux-kernel
Am 14.06.21 um 10:26 schrieb Huilong Deng:
> Macros should not use a trailing semicolon.
>
> Signed-off-by: Huilong Deng <denghuilong@cdjrlc.com>
> ---
>
Thanks applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-15 14:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-14 8:26 [PATCH] mcb: Remove trailing semicolon in macros Huilong Deng
2021-06-15 14:51 ` Johannes Thumshirn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).