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
Dear Andy,
Thank you for the patch. In the summary/title I’d add the header name. Should you resend, maybe:
i40e: Include missing wordpart.h header
Am 02.03.26 um 10:03 schrieb Andy Shevchenko:
Quoted 17 lines
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.
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 +0
-0
drivers/net/ethernet/intel/i40e/i40e_hmc.h line 11
Quoted 8 lines
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"
Kind regards,
Paul
Quoted 5 lines · Paul Menzel
Thank you for the patch. In the summary/title I’d add the header name. Should you resend, maybe:
i40e: Include missing
wordpart.hheader
Done in v2!
Quoted 3 lines
Am 02.03.26 um 10:03 schrieb Andy Shevchenko:
Reviewed-by Paul Menzel <[email protected]>
Thanks!
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 47 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Andy Shevchenko
Sent: Monday, March 2, 2026 10:03 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
Quoted 5 lines · Aleksandr
Quoted 3 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Andy Shevchenko
Sent: Monday, March 2, 2026 10:03 AMReviewed-by Aleksandr Loktionov <[email protected]>
Thanks!
I sent a v2 with fixed Subject already, please review that one.
Signature · 2 lines
With Best Regards, Andy Shevchenko