[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170204043139.GA2260@roeck-us.net>
Date: Fri, 3 Feb 2017 20:31:39 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Derek Robson <robsonde@...il.com>
Cc: w.d.hubbs@...il.com, chris@...-brannons.com, kirk@...sers.ca,
samuel.thibault@...-lyon.org, gregkh@...uxfoundation.org,
speakup@...ux-speakup.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: Drivers: staging: speakup: spk_priv.h - style fix
On Sat, Feb 04, 2017 at 12:56:41PM +1300, Derek Robson wrote:
> Changed function definition argument to have identifier name.
> found using checkpatch
>
> Signed-off-by: Derek Robson <robsonde@...il.com>
> ---
> drivers/staging/speakup/spk_priv.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/speakup/spk_priv.h b/drivers/staging/speakup/spk_priv.h
> index 98c4b6f0344a..1952d7887b3b 100644
> --- a/drivers/staging/speakup/spk_priv.h
> +++ b/drivers/staging/speakup/spk_priv.h
> @@ -64,8 +64,8 @@ void spk_synth_flush(struct spk_synth *synth);
> int spk_synth_is_alive_nop(struct spk_synth *synth);
> int spk_synth_is_alive_restart(struct spk_synth *synth);
> void synth_printf(const char *buf, ...);
> -int synth_request_region(u_long, u_long);
> -int synth_release_region(u_long, u_long);
> +int synth_request_region(unsigned long start, unsigned long n)
> +int synth_release_region(unsigned long start, unsigned long n)
Hmmm .. you didn't compile test your code, did you ?
You asked why 0day reports an error. If you compile this code,
I am quite sure that you are going to see the same errors.
Guenter
> int synth_add(struct spk_synth *in_synth);
> void synth_remove(struct spk_synth *in_synth);
>
Powered by blists - more mailing lists