]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55ef139e060f4206c7e7aadac63f70c75a0c43bc
tree246f023d09e35af3f8a8b344f804e6bab35be8ca
parent204462978bc5b1c0c516236e000888ee9f29a4dc
USB: mos7840: fix pointer casts

Silence compiler warnings on 64-bit systems introduced by commit
20446297 ("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