projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118969e
)
cxgb4: allocate more space for MSI-X interrupt names
author
Dimitris Michailidis
<dm@chelsio.com>
Tue, 14 Dec 2010 21:36:49 +0000
(21:36 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 16 Dec 2010 21:16:01 +0000
(13:16 -0800)
Currently MSI-X names for netdevs with long names are truncated in
/proc/interrupts due to insufficient space. Use IFNAMSIZ to size the
needed space.
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/cxgb4.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/cxgb4/cxgb4.h
b/drivers/net/cxgb4/cxgb4.h
index 3d4253d311eb50972c3037fb5e7b52ef2b18395b..f3d9f64188ffbe9a6a7baa14cf3d45220df3d116 100644
(file)
--- a/
drivers/net/cxgb4/cxgb4.h
+++ b/
drivers/net/cxgb4/cxgb4.h
@@
-497,7
+497,7
@@
struct adapter {
struct {
unsigned short vec;
- char desc[
14
];
+ char desc[
IFNAMSIZ + 10
];
} msix_info[MAX_INGQ + 1];
struct sge sge;