i40evf: make checkpatch happy
This patch is the result of running checkpatch on the i40evf driver with the --strict option. The vast majority of changes are adding/removing blank lines, aligning function parameters, and correcting over-long lines. The only possible functional change is changing the flags member of the adapter structure to be non-volatile. However, according to the kernel documentation, this is not necessary and the volatile should be removed. Change-ID: Ie8c6414800924f529bef831e8845292b970fe2ed Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:

committed by
Jeff Kirsher

parent
2cda3f3be5
commit
75a644358a
@@ -244,7 +244,7 @@ struct i40evf_adapter {
|
||||
struct i40e_hw hw; /* defined in i40e_type.h */
|
||||
|
||||
enum i40evf_state_t state;
|
||||
volatile unsigned long crit_section;
|
||||
unsigned long crit_section;
|
||||
|
||||
struct work_struct watchdog_task;
|
||||
bool netdev_registered;
|
||||
|
Reference in New Issue
Block a user