summaryrefslogtreecommitdiffstats
path: root/drivers/ide/cs5520.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2015-02-18 10:34:52 +0700
committerJohan Hovold <johan@kernel.org>2015-02-26 17:12:46 +0100
commit2deb96b5d4bb20a33bfaf80e30f38f3433653054 (patch)
treed02b859829f986671780463141d4d227f991fbf3 /drivers/ide/cs5520.c
parentca4383a3947a83286bc9b9c598a1f55e867871d7 (diff)
downloadblackbird-op-linux-2deb96b5d4bb20a33bfaf80e30f38f3433653054.tar.gz
blackbird-op-linux-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 <tiwai@suse.de> Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/ide/cs5520.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud