]> exis.tech > repos - linux.git/commit
i40e: Fix i40e_debug() to use struct i40e_hw argument
authorMohamed Khalfella <mkhalfella@purestorage.com>
Wed, 6 May 2026 22:41:23 +0000 (15:41 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 22 Jun 2026 21:44:50 +0000 (14:44 -0700)
commit798f94603eb0737033861efd320a9159f382a7c5
tree337385a053dc9add5b76aef03e993dba2f9083c8
parent20da495f2df0fd4adc435d3d621366e8c807539c
i40e: Fix i40e_debug() to use struct i40e_hw argument

i40e_debug() macro takes struct i40e_hw *h as first argument. But the
macro body uses hw instead of h. This has been working so far because hw
happens to be the name of the variable in the context where the macro is
expanded. Fix the macro to use the passed argument.

Fixes: 5dfd37c37a44 ("i40e: Split i40e_osdep.h")
Signed-off-by: Mohamed Khalfella <mkhalfella@purestorage.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Tested-by: Alexander Nowlin <alexander.nowlin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_debug.h