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:
parent
118969ed21
commit
8cd18ac47f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Reference in a new issue