aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2015-02-18 03:34:52 +0000
committerJohan Hovold <[email protected]>2015-02-26 16:12:46 +0000
commit2deb96b5d4bb20a33bfaf80e30f38f3433653054 (patch)
treed02b859829f986671780463141d4d227f991fbf3 /lib/mpi/mpi-bit.c
parentUSB: serial: fix tty-device error handling at probe (diff)
downloadkernel-2deb96b5d4bb20a33bfaf80e30f38f3433653054.tar.gz
kernel-2deb96b5d4bb20a33bfaf80e30f38f3433653054.zip
USB: serial: fix port attribute-creation race
Fix attribute-creation race with userspace by using the port device groups field to create the port attributes. Also use %u when printing the port number, which is unsigned, even though we do not currently support more than 128 ports per device. Reported-by: Takashi Iwai <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions