Skip to contentSkip to conversation

i40e: Add missing header

PATCH Superseded Andy Shevchenko 3 participants 5 messages Mar 2

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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
index 480e3a883cc7..967711405919 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw

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.

---
  drivers/net/ethernet/intel/i40e/i40e_hmc.h | 2 ++
  1 file changed, 2 insertions(+)
drivers/net/ethernet/intel/i40e/i40e_hmc.h +0 -0
index 480e3a883cc7..967711405919 100644

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

#2 lore raw
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.h header

Done in v2!

Quoted 3 lines

Am 02.03.26 um 10:03 schrieb Andy Shevchenko:

Thanks!

Signature · 2 lines
With Best Regards,
Andy Shevchenko
Reviewed-by on v1 1/1
#3 lore raw
In reply to 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 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 -1
index 480e3a883cc7..967711405919 100644
@@ -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

#4 lore raw
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 AM

Thanks!
I sent a v2 with fixed Subject already, please review that one.

Signature · 2 lines
With Best Regards,
Andy Shevchenko