RE: [Intel-wired-lan] [PATCH v2] i40e: Fix i40e_debug() to use struct i40e_hw argument
From: Nowlin, Alexander <hidden>
Date: 2026-05-26 22:15:29
Also in:
intel-wired-lan, lkml
From: Nowlin, Alexander <hidden>
Date: 2026-05-26 22:15:29
Also in:
intel-wired-lan, lkml
-----Original Message-----
From: Intel-wired-lan <redacted> On Behalf Of Mohamed Khalfella
Sent: Wednesday, May 6, 2026 3:41 PM
To: Nguyen, Anthony L <anthony.l.nguyen@intel.com>; Kitszel, Przemyslaw
[off-list ref]; David S . Miller [off-list ref]; Eric Dumazet
[off-list ref]; Jakub Kicinski [off-list ref]; Paolo Abeni [off-list ref]
Cc: Mohamed Khalfella <redacted>; Loktionov, Aleksandr
[off-list ref]; Paul Menzel [off-list ref]; Keller, Jacob E
[off-list ref]; intel-wired-lan@lists.osuosl.org; netdev@vger.kernel.org; linux-
kernel@vger.kernel.org
Subject: [Intel-wired-lan] [PATCH v2] 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 <redacted>
Reviewed-by: Aleksandr Loktionov <redacted>
Reviewed-by: Paul Menzel <redacted>
---
drivers/net/ethernet/intel/i40e/i40e_debug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)Tested-by: Alexander Nowlin <redacted>