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
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue