Commit 8cd18ac4 authored by Dimitris Michailidis's avatar Dimitris Michailidis Committed by David S. Miller

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: default avatarDimitris Michailidis <dm@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 118969ed
...@@ -497,7 +497,7 @@ struct adapter { ...@@ -497,7 +497,7 @@ struct adapter {
struct { struct {
unsigned short vec; unsigned short vec;
char desc[14]; char desc[IFNAMSIZ + 10];
} msix_info[MAX_INGQ + 1]; } msix_info[MAX_INGQ + 1];
struct sge sge; struct sge sge;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment