[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210614082633.20770-1-denghuilong@cdjrlc.com>
Date: Mon, 14 Jun 2021 16:26:33 +0800
From: Huilong Deng <denghuilong@...rlc.com>
To: morbidrsa@...il.com
Cc: linux-kernel@...r.kernel.org, Huilong Deng <denghuilong@...rlc.com>
Subject: [PATCH] mcb: Remove trailing semicolon in macros
Macros should not use a trailing semicolon.
Signed-off-by: Huilong Deng <denghuilong@...rlc.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
Powered by blists - more mailing lists