[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <fe520620eeddaa2ed8c669125f9b673c89d6b5a5.1623768541.git.johannes.thumshirn@wdc.com>
Date: Tue, 15 Jun 2021 23:55:30 +0900
From: Johannes Thumshirn <johannes.thumshirn@....com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org,
Johannes Thumshirn <johannes.thumshirn@....com>,
Huilong Deng <denghuilong@...rlc.com>,
Johannes Thumshirn <jth@...nel.org>
Subject: [PATCH 3/3] mcb: Remove trailing semicolon in macros
From: Huilong Deng <denghuilong@...rlc.com>
Macros should not use a trailing semicolon.
Signed-off-by: Huilong Deng <denghuilong@...rlc.com>
Signed-off-by: Johannes Thumshirn <jth@...nel.org>
---
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