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>
This commit is contained in:
Dimitris Michailidis 2010-12-14 21:36:49 +00:00 committed by David S. Miller
parent 118969ed21
commit 8cd18ac47f
1 changed files with 1 additions and 1 deletions

View File

@ -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;