[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YXrS9xwJf5AcBoFJ@kroah.com>
Date: Thu, 28 Oct 2021 18:42:31 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Senthu Sivarajah <ssivaraj@...d.fra-uas.de>
Cc: vaibhav.sr@...il.com, greybus-dev@...ts.linaro.org,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: greybus: audio_codec: changed a void function
to return 0
On Thu, Oct 28, 2021 at 05:38:08PM +0200, Senthu Sivarajah wrote:
> From: Senthuran Sivarajah <ssivaraj@...d.fra-uas.de>
>
> Fixed a coding style issue.
What coding style exactly?
>
> Signed-off-by: Senthuran Sivarajah <ssivaraj@...d.fra-uas.de>
>
> ---
> drivers/staging/greybus/audio_codec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c
> index b589cf6b1d03..9f99862791dc 100644
> --- a/drivers/staging/greybus/audio_codec.c
> +++ b/drivers/staging/greybus/audio_codec.c
> @@ -1028,7 +1028,7 @@ static int gbcodec_probe(struct snd_soc_component *comp)
> static void gbcodec_remove(struct snd_soc_component *comp)
> {
> /* Empty function for now */
> - return;
> + return 0;
Did you build this change?
Exactly what tool reported a problem with this code and what was the
exact error?
thanks,
greg k-h
Powered by blists - more mailing lists