* [PATCH] drivers: mcb: Modify mismatched function name
@ 2023-05-23 2:30 Jiapeng Chong
2023-05-23 2:31 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2023-05-23 2:30 UTC (permalink / raw)
To: morbidrsa; +Cc: linux-kernel, Jiapeng Chong, Abaci Robot
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@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=5282
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
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
--
2.20.1.7.g153144c
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers: mcb: Modify mismatched function name
2023-05-23 2:30 [PATCH] drivers: mcb: Modify mismatched function name Jiapeng Chong
@ 2023-05-23 2:31 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2023-05-23 2:31 UTC (permalink / raw)
To: Jiapeng Chong, morbidrsa; +Cc: linux-kernel, Abaci Robot
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@linux.alibaba.com>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=5282
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Acked-by: Randy Dunlap <rdunlap@infradead.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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-23 2:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-23 2:30 [PATCH] drivers: mcb: Modify mismatched function name Jiapeng Chong
2023-05-23 2:31 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®