Skip to contentSkip to conversation

spi: axi-spi-engine: fix missing bitfield include

PATCH In review David Lechner 2 participants 2 messages Feb 6, 2025 – Feb 7, 2025

Subsystems (2)
lore
Share & tools
lore

David Lechner

author reviewer
#0 lore raw

PATCH 1/1 spi: axi-spi-engine: fix missing bitfield include

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

---

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@baylibre.com/

---
 drivers/spi/spi-axi-spi-engine.c | 1 +
 1 file changed, 1 insertion(+)
drivers/spi/spi-axi-spi-engine.c +1 -0
index dd6077d3ff7b..da9840957778 100644
@@ -6,6 +6,7 @@
  *  Author: Lars-Peter Clausen <[email protected]>
  */
 
+#include <linux/bitfield.h>
 #include <linux/bitops.h>
 #include <linux/clk.h>
 #include <linux/completion.h>
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 1 line · David Lechner

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

This doesn't apply against current code, please check and resend.

Quoted 8 lines

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@baylibre.com/

I haven't applied that because of all the build issues that the bots reported, you need to send a new version that build cleanly.