OSDN Git Service

iavf/iavf_main: actually log ->src mask when talking about it
authorDaniil Tatianin <d-tatianin@yandex-team.ru>
Tue, 20 Dec 2022 06:32:46 +0000 (09:32 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 10 Jan 2023 19:52:38 +0000 (11:52 -0800)
commit6650c8e906ce58404bfdfceceeba7bd10d397d40
tree42e2cec2d5e696d70a23ded991e4b8af4bf7c6bb
parent5e91c72e560cc85f7163bbe3d14197268de31383
iavf/iavf_main: actually log ->src mask when talking about it

This fixes a copy-paste issue where dev_err would log the dst mask even
though it is clearly talking about src.

Found by Linux Verification Center (linuxtesting.org) with the SVACE
static analysis tool.

Fixes: 0075fa0fadd0 ("i40evf: Add support to apply cloud filters")
Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/iavf/iavf_main.c