提交 71e6163a 编写于 作者: J Jesse Brandeburg 提交者: Jeff Kirsher

i40e: store msg_enable in the right size

The kernel returns a u32 for netif_msg_init, and we were storing
it in a u16.  Fix the width of the datatype.

Change-ID: I4b23326e5707c91cd59325c5a1ccb2ba7a3974fc
Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
上级 ef062077
...@@ -276,7 +276,7 @@ struct i40e_pf { ...@@ -276,7 +276,7 @@ struct i40e_pf {
enum i40e_interrupt_policy int_policy; enum i40e_interrupt_policy int_policy;
u16 rx_itr_default; u16 rx_itr_default;
u16 tx_itr_default; u16 tx_itr_default;
u16 msg_enable; u32 msg_enable;
char int_name[I40E_INT_NAME_STR_LEN]; char int_name[I40E_INT_NAME_STR_LEN];
u16 adminq_work_limit; /* num of admin receive queue desc to process */ u16 adminq_work_limit; /* num of admin receive queue desc to process */
unsigned long service_timer_period; unsigned long service_timer_period;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册