Johan Hovold 2deb96b5d4 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 <tiwai@suse.de>
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Greg Kroah-Hartman <greg@kroah.com>
2015-02-26 17:12:46 +01:00
..
2015-02-26 17:06:39 +01:00
2014-11-26 10:41:46 -08:00
2014-09-15 18:43:08 +02:00
2015-01-19 15:58:16 +01:00
2014-09-01 11:55:30 +02:00
2014-12-14 14:57:16 -08:00