Skip to contentSkip to conversation

phy: freescale: pcie: explictly add bitfield.h

PATCH In review Vinod Koul 2 participants 3 messages Dec 15, 2021

Subsystems (2)
lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw

PATCH 1/1 phy: freescale: pcie: explictly add bitfield.h

kernel test robot complains about missing FIELD_PREP, so include bitfield.h for that

drivers/phy/freescale/phy-fsl-imx8m-pcie.c:41:37: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration] drivers/phy/freescale/phy-fsl-imx8m-pcie.c:41:41: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration]

Fixes 1aa97b002258 ("phy: freescale: pcie: Initialize the imx8 pcie standalone phy driver")
---
 drivers/phy/freescale/phy-fsl-imx8m-pcie.c | 1 +
 1 file changed, 1 insertion(+)
drivers/phy/freescale/phy-fsl-imx8m-pcie.c +1 -0
index f6502463d49a..04b1aafb29f4 100644
@@ -3,6 +3,7 @@
  * Copyright 2021 NXP
  */
 
+#include <linux/bitfield.h>
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/iopoll.h>
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 20 lines

-----Original Message-----
From: Vinod Koul <[email protected]>
Sent: Wednesday, December 15, 2021 2:09 PM
To: Kishon Vijay Abraham I <[email protected]>; Hongxing Zhu <[email protected]>
Cc: [email protected]; Vinod Koul <[email protected]>; [email protected]; [email protected]; kernel test robot <[email protected]>
Subject: [PATCH] phy: freescale: pcie: explictly add bitfield.h

kernel test robot complains about missing FIELD_PREP, so include bitfield.h for that

drivers/phy/freescale/phy-fsl-imx8m-pcie.c:41:37: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration] drivers/phy/freescale/phy-fsl-imx8m-pcie.c:41:41: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration]

Quoted 4 lines
Fixes 1aa97b002258 ("phy: freescale: pcie: Initialize the imx8 pcie

standalone phy driver")

Thanks a lot for your help to fix it.
And I'm sorry about that I didn't capture this error in my local build and tests.

Best Regards
Richard Zhu

Quoted 19 lines
---
 drivers/phy/freescale/phy-fsl-imx8m-pcie.c | 1 +
 1 file changed, 1 insertion(+)
drivers/phy/freescale/phy-fsl-imx8m-pcie.c +1 -1
index f6502463d49a..04b1aafb29f4 100644
@@ -3,6 +3,7 @@
  * Copyright 2021 NXP
  */
 
+#include <linux/bitfield.h>
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/iopoll.h>
--

2.31.1

author maintainer
#2 lore raw
Quoted 20 lines · Hongxing Zhu
Quoted 20 lines

-----Original Message-----
From: Vinod Koul <[email protected]>
Sent: Wednesday, December 15, 2021 2:09 PM
To: Kishon Vijay Abraham I <[email protected]>; Hongxing Zhu <[email protected]>
Cc: [email protected]; Vinod Koul <[email protected]>; [email protected]; [email protected]; kernel test robot <[email protected]>
Subject: [PATCH] phy: freescale: pcie: explictly add bitfield.h

kernel test robot complains about missing FIELD_PREP, so include bitfield.h for that

drivers/phy/freescale/phy-fsl-imx8m-pcie.c:41:37: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration] drivers/phy/freescale/phy-fsl-imx8m-pcie.c:41:41: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration]

Quoted 5 lines
Quoted 4 lines
Fixes 1aa97b002258 ("phy: freescale: pcie: Initialize the imx8 pcie

standalone phy driver")

Thanks for quick review, I have pushed this

Quoted 2 lines

Thanks a lot for your help to fix it.
And I'm sorry about that I didn't capture this error in my local build and tests.

No worries, Do test on different arch's other than yours

Signature · 6 lines
~Vinod

-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy