kernel/drivers/net/ethernet/chelsio/cxgb4/smt.h
.. .. @@ -59,14 +59,14 @@ 59 59 u16 idx; 60 60 u16 pfvf; 61 61 u8 src_mac[ETH_ALEN]; 62 - atomic_t refcnt;62 + int refcnt;63 63 spinlock_t lock; /* protect smt entry add,removal */ 64 64 }; 65 65 66 66 struct smt_data { 67 67 unsigned int smt_size; 68 68 rwlock_t lock; 69 - struct smt_entry smtab[0];69 + struct smt_entry smtab[];70 70 }; 71 71 72 72 struct smt_data *t4_init_smt(void);