mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>, morbidrsa@gmail.com
Cc: linux-kernel@vger.kernel.org, Abaci Robot <abaci@linux.alibaba.com>
Subject: Re: [PATCH] drivers: mcb: Modify mismatched function name
Date: Mon, 22 May 2023 19:31:54 -0700	[thread overview]
Message-ID: <6a43717c-a8ed-6af5-ec01-21ee92270ce7@infradead.org> (raw)
In-Reply-To: <20230523023017.41226-1-jiapeng.chong@linux.alibaba.com>



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

      reply	other threads:[~2023-05-23  2:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-23  2:30 Jiapeng Chong
2023-05-23  2:31 ` Randy Dunlap [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a43717c-a8ed-6af5-ec01-21ee92270ce7@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=abaci@linux.alibaba.com \
    --cc=jiapeng.chong@linux.alibaba.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=morbidrsa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®