diff options
author | Joe Perches <joe@perches.com> | 2012-03-25 07:10:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-25 13:27:48 -0400 |
commit | 0015e551edb1d28191567d8a7d1ce5edda404ced (patch) | |
tree | a0f8c8e5b7a81bb8aa00007a47454a7cfc62bf9e /drivers/usb/gadget | |
parent | dbb6d0956877b99e78b8e0dc0e4e56d9e936b5ab (diff) | |
download | op-kernel-dev-0015e551edb1d28191567d8a7d1ce5edda404ced.zip op-kernel-dev-0015e551edb1d28191567d8a7d1ce5edda404ced.tar.gz |
gianfar: Fix possible overrun and simplify interrupt name field creation
Space allocated for int_name_<foo> is insufficient for
maximal device name, expand it.
Code to create int_name_<foo> is obscure, simplify it
by using sprintf.
Found by looking for unnecessary \ line continuations.
Signed-off-by: Joe Perches <joe@perches.com>
Tested-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions