Re: [PATCH] drivers: mcb: Modify mismatched function name
From: Randy Dunlap
Date: Mon May 22 2023 - 22:32:00 EST
On 5/22/23 19:30, Jiapeng Chong wrote:
> No functional modification involved.
>
> drivers/mcb/mcb-core.c:335: warning: expecting prototype for mcb_bus_put(). Prototype was for mcb_bus_get() instead.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=5282
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Thanks.
> ---
> drivers/mcb/mcb-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mcb/mcb-core.c b/drivers/mcb/mcb-core.c
> index 978fdfc19a06..520160eaa7b1 100644
> --- a/drivers/mcb/mcb-core.c
> +++ b/drivers/mcb/mcb-core.c
> @@ -326,7 +326,7 @@ void mcb_release_bus(struct mcb_bus *bus)
> EXPORT_SYMBOL_NS_GPL(mcb_release_bus, MCB);
>
> /**
> - * mcb_bus_put() - Increment refcnt
> + * mcb_bus_get() - Increment refcnt
> * @bus: The @mcb_bus
> *
> * Get a @mcb_bus' ref
--
~Randy