[Intel-wired-lan] [PATCH net-next v1] ice: add missing checks for PF vsi type
G, GurucharanX
gurucharanx.g at intel.com
Fri Dec 23 03:48:34 UTC 2022
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Jesse Brandeburg
> Sent: Wednesday, December 14, 2022 5:32 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Brandeburg, Jesse <jesse.brandeburg at intel.com>
> Subject: [Intel-wired-lan] [PATCH net-next v1] ice: add missing checks for PF
> vsi type
>
> There were a few places we had missed checking the VSI type to make sure
> it was definitely a PF VSI, before calling setup functions intended only for the
> PF VSI.
>
> This doesn't fix any explicit bugs but cleans up the code in a few places and
> removes one explicit != vsi->type check that can be superseded by this code
> (it's a super set)
>
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_main.c | 17 ++++++++---------
> 1 file changed, 8 insertions(+), 9 deletions(-)
>
Tested-by: Gurucharan G <gurucharanx.g at intel.com> (A Contingent worker at Intel)
More information about the Intel-wired-lan
mailing list