Re: [PATCH 3/3] mcb: Remove trailing semicolon in macros
From: Greg Kroah-Hartman
Date: Tue Jun 15 2021 - 11:48:13 EST
On Tue, Jun 15, 2021 at 11:55:30PM +0900, Johannes Thumshirn wrote:
> From: Huilong Deng <denghuilong@xxxxxxxxxx>
>
> Macros should not use a trailing semicolon.
>
> Signed-off-by: Huilong Deng <denghuilong@xxxxxxxxxx>
> Signed-off-by: Johannes Thumshirn <jth@xxxxxxxxxx>
> ---
> 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
>
I've applied this one, feel free to resend the first 2 as emails.
thanks,
greg k-h