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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2013 16:25:12 +0000 (09:25 -0700)
commit24d54932440284584060455a81156f7ca4edff0e
tree3ba07e081f44afc30cc3936dd11b98e90c3bbf11
parent9c9d7bf530c4d01e695fd9e8ba69006177d36a14
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>
Cc: Lotfi Manseur <lotfi.manseur@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ftdi_sio.c