USB: mos7840: fix pointer casts
authorJohan Hovold <jhovold@gmail.com>
Sat, 27 Jul 2013 11:34:42 +0000 (13:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jul 2013 18:32:18 +0000 (11:32 -0700)
commit683a0e4d7971c3186dc4d429027debfe309129aa
tree246f023d09e35af3f8a8b344f804e6bab35be8ca
parent05cf0dec5ccc696a7636c84b265b477173498156
USB: mos7840: fix pointer casts

Silence compiler warnings on 64-bit systems introduced by commit
05cf0dec ("USB: mos7840: fix race in led handling") which uses the
usb-serial data pointer to temporarily store the device type during
probe but failed to add the required casts.

[gregkh - change uintptr_t to unsigned long]

Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mos7840.c