aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2010-12-14 16:36:49 -0500
committerDavid S. Miller <davem@davemloft.net>2010-12-16 16:16:01 -0500
commit8cd18ac47f9642bcd0d30d4b3521359b1896c208 (patch)
treec735b16162da79c10aaa135105ffb75475eaa466 /drivers/net/cxgb4
parent118969ed21b6895045b0a5a8a32feac1c9341096 (diff)
cxgb4: allocate more space for MSI-X interrupt names
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>
Diffstat (limited to 'drivers/net/cxgb4')
-rw-r--r--drivers/net/cxgb4/cxgb4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb4/cxgb4.h b/drivers/net/cxgb4/cxgb4.h
index 3d4253d311eb..f3d9f64188ff 100644
--- a/drivers/net/cxgb4/cxgb4.h
+++ b/drivers/net/cxgb4/cxgb4.h
@@ -497,7 +497,7 @@ struct adapter {
497 497
498 struct { 498 struct {
499 unsigned short vec; 499 unsigned short vec;
500 char desc[14]; 500 char desc[IFNAMSIZ + 10];
501 } msix_info[MAX_INGQ + 1]; 501 } msix_info[MAX_INGQ + 1];
502 502
503 struct sge sge; 503 struct sge sge;