net: thunderx: Fix issue with IRQ namimg
[linux-2.6-microblaze.git] / drivers / net / ethernet / cavium / thunder / nic.h
index 18d12d3..3042610 100644 (file)
@@ -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];