[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6a43717c-a8ed-6af5-ec01-21ee92270ce7@infradead.org>
Date: Mon, 22 May 2023 19:31:54 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
morbidrsa@...il.com
Cc: linux-kernel@...r.kernel.org, Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH] drivers: mcb: Modify mismatched function name
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@...ux.alibaba.com>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=5282
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Acked-by: Randy Dunlap <rdunlap@...radead.org>
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
Powered by blists - more mailing lists