Skip to contentSkip to conversation

pci: Add missing <linux/sizes.h> to pcie_iproc.c

PATCH In review Tom Rini 1 participant 2 messages Jul 18, 2025 – Aug 11, 2025

Subsystems (2)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 pci: Add missing <linux/sizes.h> to pcie_iproc.c

This driver references the SZ_ macros while relying on an indirection inclusion of <linux/sizes.h>. Add the missing include directly.

---
 drivers/pci/pcie_iproc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pci/pcie_iproc.c +1 -0
index 360ef1b011f2..a6ed01891782 100644
@@ -13,6 +13,7 @@
 #include <dm/device_compat.h>
 #include <linux/delay.h>
 #include <linux/log2.h>
+#include <linux/sizes.h>
 
 #define EP_PERST_SOURCE_SELECT_SHIFT 2
 #define EP_PERST_SOURCE_SELECT       BIT(EP_PERST_SOURCE_SELECT_SHIFT)
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 4 lines · Tom Rini

This driver references the SZ_ macros while relying on an indirection inclusion of <linux/sizes.h>. Add the missing include directly.

Applied to u-boot/next, thanks!

[1/1] pci: Add missing <linux/sizes.h> to pcie_iproc.c

      commit: 5bad0bc4f7beeba8e972005fd0901cf368315815
Signature · 1 line
Tom