USB: ftdi_sio: Quiet sparse noise about using plain integer was NULL pointer
authorYing Xue <ying.xue@windriver.com>
Mon, 6 Aug 2012 09:46:37 +0000 (17:46 +0800)
committerWilly Tarreau <w@1wt.eu>
Mon, 10 Jun 2013 09:43:06 +0000 (11:43 +0200)
commitb7924161e554fa880c9c9c1c987f6800abc7ce29
tree960b5dbfbce1e88e25cb181db711d7f2187a1ffb
parentd62e044103ca7e75bfaa97c562472c33d5b9e408
USB: ftdi_sio: Quiet sparse noise about using plain integer was NULL pointer

commit a816e3113b63753c330ca4751ea1d208e93e3015 upstream.

Pointers should not be compared to plain integers.
Quiets the sparse warning:
warning: Using plain integer as NULL pointer

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Suggested-by: Lotfi Manseur <lotfi.manseur@imag.fr>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/usb/serial/ftdi_sio.c