diff options
author | Joe Perches <joe@perches.com> | 2012-03-25 09:10:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-25 19:27:48 +0200 |
commit | 0015e551edb1d28191567d8a7d1ce5edda404ced (patch) | |
tree | a0f8c8e5b7a81bb8aa00007a47454a7cfc62bf9e /net/core | |
parent | USB: qmi_wwan: Add ZTE (Vodafone) K3570-Z and K3571-Z net interfaces (diff) | |
download | linux-0015e551edb1d28191567d8a7d1ce5edda404ced.tar.xz linux-0015e551edb1d28191567d8a7d1ce5edda404ced.zip |
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 'net/core')
0 files changed, 0 insertions, 0 deletions