Skip to content

Commit

Permalink
cxgb4: allocate more space for MSI-X interrupt names
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Dimitris Michailidis authored and davem330 committed Dec 16, 2010
1 parent 118969e commit 8cd18ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/cxgb4/cxgb4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8cd18ac

Please sign in to comment.