mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
net: thunderx: Fix issue with IRQ namimg
This patch fixes a regression caused by previous commit
when irq name exceeds 20 byte array if interface's name
size is large.
Fixes: e412621394
("net: thunderx: Use netdev's name for naming VF's interrupts")
Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
faac0ff0a5
commit
b4e28c1fc9
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ struct nicvf {
|
|||
bool msix_enabled;
|
||||
u8 num_vec;
|
||||
struct msix_entry msix_entries[NIC_VF_MSIX_VECTORS];
|
||||
char irq_name[NIC_VF_MSIX_VECTORS][20];
|
||||
char irq_name[NIC_VF_MSIX_VECTORS][IFNAMSIZ + 15];
|
||||
bool irq_allocated[NIC_VF_MSIX_VECTORS];
|
||||
cpumask_var_t affinity_mask[NIC_VF_MSIX_VECTORS];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue