Re: [Intel-wired-lan] [PATCH net-next v2 2/2] i40e: fix setting debug parameter early

2016-09-23 Thread Alexander Duyck
On Fri, Sep 23, 2016 at 6:30 AM, Stefan Assmann wrote: > pf->msg_enable is a bitmask, therefore assigning the value of the > "debug" parameter is wrong. It is initialized again later in > i40e_sw_init() so it didn't cause any problem, except that we missed > early debug messages. Moved the initial

[PATCH net-next v2 2/2] i40e: fix setting debug parameter early

2016-09-23 Thread Stefan Assmann
pf->msg_enable is a bitmask, therefore assigning the value of the "debug" parameter is wrong. It is initialized again later in i40e_sw_init() so it didn't cause any problem, except that we missed early debug messages. Moved the initialization and assigned pf->hw.debug_mask the bitmask as that's wha