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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 19 Jun 2013 01:16:47 +0000 (02:16 +0100)
commit1c779312a17a2126bb01001d8aa119a0346a567a
tree23b629a428141019a9f0e9631ab5f406c266af43
parent2046bf5429e670095315355d263f35ad85a1a209
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/serial/ftdi_sio.c