Re: [PATCH] watchdog: sp5100_tco.c: quiet sparse noise about using plain integer was NULL pointer

From: Wim Van Sebroeck
Date: Thu May 03 2012 - 07:03:34 EST


Hi,

> Pointers should not be compared to plain integers.
> Quiets the sparse warning:
> warning: Using plain integer as NULL pointer
>
> Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
> Cc: Wim Van Sebroeck <wim@xxxxxxxxx>

Added to linux-watchdog-next.

Kind regards,
Wim.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/