i40e: Add missing header
Subsystems (3)
PATCH 1/1 i40e: Add missing header
When cleaning up another header I have met this build error:
drivers/net/ethernet/intel/i40e/i40e_hmc.h:105:22: error: implicit declaration of function 'upper_32_bits' [-Wimplicit-function-declaration]
105 | val1 = (u32)(upper_32_bits(pa)); \
This is due to missing header, add it to fix the possible issue.
--- drivers/net/ethernet/intel/i40e/i40e_hmc.h | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ethernet/intel/i40e/i40e_hmc.h +2 -0
@@ -4,6 +4,8 @@#ifndef _I40E_HMC_H_#define _I40E_HMC_H_ +#include <linux/wordpart.h> +#include "i40e_alloc.h" #include "i40e_io.h" #include "i40e_register.h"
Signature · 1 line
2.50.1
Quoted 47 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Andy Shevchenko
Sent: Saturday, January 24, 2026 1:57 AM
To: Andy Shevchenko <[email protected]>; intel-wired- [email protected]; [email protected]; linux- [email protected]
Cc: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw <[email protected]>; Andrew Lunn <[email protected]>; David S. Miller <[email protected]>; Eric Dumazet <[email protected]>; Jakub Kicinski <[email protected]>; Paolo Abeni <[email protected]>
Subject: [Intel-wired-lan] [PATCH net-next v1 1/1] i40e: Add missing headerWhen cleaning up another header I have met this build error:
drivers/net/ethernet/intel/i40e/i40e_hmc.h:105:22: error: implicit declaration of function 'upper_32_bits' [-Wimplicit-function- declaration]
105 | val1 = (u32)(upper_32_bits(pa));
\This is due to missing header, add it to fix the possible issue.
Signed-off-by Andy Shevchenko <[email protected]>--- drivers/net/ethernet/intel/i40e/i40e_hmc.h | 2 ++ 1 file changed, 2 insertions(+)drivers/net/ethernet/intel/i40e/i40e_hmc.h +2
-1@@ -4,6 +4,8 @@#ifndef _I40E_HMC_H_#define _I40E_HMC_H_ +#include <linux/wordpart.h> +#include "i40e_alloc.h" #include "i40e_io.h" #include "i40e_register.h" --
Quoted 1 line
2.50.1