[PATCH] spi: axi-spi-engine: fix missing bitfield include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix missing linux/bitfield.h include needed for FIELD_GET macro.

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202502031224.wvHipe06-lkp@xxxxxxxxx/
Closes: https://lore.kernel.org/oe-kbuild-all/202502031250.64gElGDs-lkp@xxxxxxxxx/
Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx>
---

Hi Mark,

I know you prefer patches like this to fix something in a patch that has
already been applied, but it doesn't look like you actually picked up the
offending commit[1] yet in your main tree, so I don't have a commit hash
for a proper Fixes: tag.

Do you want a fix like this or should I send a v8 with the fix squashed?

[1]: https://lore.kernel.org/linux-spi/20250113-dlech-mainline-spi-engine-offload-2-v7-7-e0860c81caae@xxxxxxxxxxxx/
---
 drivers/spi/spi-axi-spi-engine.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/spi-axi-spi-engine.c b/drivers/spi/spi-axi-spi-engine.c
index dd6077d3ff7b..da9840957778 100644
--- a/drivers/spi/spi-axi-spi-engine.c
+++ b/drivers/spi/spi-axi-spi-engine.c
@@ -6,6 +6,7 @@
  *  Author: Lars-Peter Clausen <lars@xxxxxxxxxx>
  */
 
+#include <linux/bitfield.h>
 #include <linux/bitops.h>
 #include <linux/clk.h>
 #include <linux/completion.h>
-- 
2.43.0





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux