[Intel-wired-lan] [RFC PATCH v3 2/6] i40e: Add macro for PF reset bit

Bowers, AndrewX andrewx.bowers at intel.com
Wed Sep 13 21:44:04 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Amritha Nambiar
> Sent: Thursday, September 7, 2017 4:00 AM
> To: intel-wired-lan at lists.osuosl.org; Kirsher, Jeffrey T
> <jeffrey.t.kirsher at intel.com>
> Cc: netdev at vger.kernel.org
> Subject: [Intel-wired-lan] [RFC PATCH v3 2/6] i40e: Add macro for PF reset bit
> 
> Introduce a macro for the bit setting the PF reset flag and update its usages.
> This makes it easier to use this flag in functions to be introduced in future
> without encountering checkpatch issues related to alignment and line over
> 80 characters.
> 
> Signed-off-by: Amritha Nambiar <amritha.nambiar at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e.h             |    2 ++
>  drivers/net/ethernet/intel/i40e/i40e_debugfs.c     |    3 +--
>  drivers/net/ethernet/intel/i40e/i40e_main.c        |    9 ++++-----
>  drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c |    5 ++---
>  4 files changed, 9 insertions(+), 10 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list