[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <97b79836d4ba67961ba1d69bd3a5b952-EhVcX1pHQwdXWkQFBhENSgEKLlwACzJXX19HAVhEWENbS1kLMF52CEtUX1pBSEwcXlJRL1lQWAhaW34HXVY=-webmailer1@server01.webmailer.webmailer.hosteurope.de>
Date: Thu, 20 Jul 2017 13:04:43 +0200
From: "Wolf Entwicklungen" <Marcus.Wolf@...f-Entwicklungen.de>
To: "Joseph Wright" <rjosephwright@...il.com>
Cc: gregkh@...uxfoundation.org, linux@...f-entwicklungen.de,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
"Joseph Wright" <rjosephwright@...il.com>
Subject: Re: [PATCH 1/2] Staging: pi433: declare functions static
Reviewed-by: Marcus Wolf <linux@...f-entwicklungen.de>
Am So, 16.07.2017, 16:48 schrieb Joseph Wright:
> Declare functions static to fix sparse warnings:
>
> warning: symbol 'pi433_receive' was not declared. Should it be static?
> warning: symbol 'pi433_tx_thread' was not declared. Should it be static?
>
> Signed-off-by: Joseph Wright <rjosephwright@...il.com>
> ---
> drivers/staging/pi433/pi433_if.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
> index 1bc478a..46461b4 100644
> --- a/drivers/staging/pi433/pi433_if.c
> +++ b/drivers/staging/pi433/pi433_if.c
> @@ -313,7 +313,7 @@ pi433_start_rx(struct pi433_device *dev)
>
> /*-------------------------------------------------------------------------*/
>
> -int
> +static int
> pi433_receive(void *data)
> {
> struct pi433_device *dev = data;
> @@ -463,7 +463,7 @@ pi433_receive(void *data)
> return bytes_total;
> }
>
> -int
> +static int
> pi433_tx_thread(void *data)
> {
> struct pi433_device *device = data;
> --
> 2.9.3
>
>
>
Powered by blists - more mailing lists