lkml.org 
[lkml]   [2009]   [Nov]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 6 Nov 2009 14:47:28 -0800
FromGreg KH <>
SubjectRe: [PATCH] staging/otus: trivial, fix sparse warnig.
On Thu, Oct 29, 2009 at 08:04:26PM -0400, Thiago Farina wrote:
> *apdbg.c: use NULL pointer instead of 0 integer.
>
> Signed-off-by: Thiago Farina <tfransosi@gmail.com>
> ---
> drivers/staging/otus/apdbg.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/otus/apdbg.c b/drivers/staging/otus/apdbg.c
> index d3e2f62..70a40b8 100644
> --- a/drivers/staging/otus/apdbg.c
> +++ b/drivers/staging/otus/apdbg.c
> @@ -109,7 +109,7 @@ int set_ioctl(int sock, struct ifreq *req)
>
> int read_reg(int sock, struct ifreq *req)
> {
> - struct zdap_ioctl *zdreq = 0;
> + struct zdap_ioctl *zdreq = NULL;

The tabs somehow got converted to spaces in your patches, so they can't
be applied :(

care to rediff both of them?

thanks,

greg k-h


\
 
 \ /
  Last update: 2009-11-07 00:39    [W:0.216 / U:0.060 seconds]
©2003-2009 Jasper Spaans