Skip to contentSkip to conversation

ASoC: cs-amp-lib-test: Fix missing include of kunit/test-bug.h

PATCH In review Richard Fitzgerald 2 participants 2 messages Oct 16, 2025 – Oct 21, 2025

Subsystems (3)
lore
Share & tools
lore

Richard Fitzgerald

author maintainer
#0 lore raw

PATCH 1/1 ASoC: cs-amp-lib-test: Fix missing include of kunit/test-bug.h

cs-amp-lib-test uses functions from kunit/test-bug.h but wasn't including it.

This error was found by smatch.

Fixes 177862317a98 ("ASoC: cs-amp-lib: Add KUnit test for calibration helpers")
---
 sound/soc/codecs/cs-amp-lib-test.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/cs-amp-lib-test.c +1 -0
index 2fde84309338..3406887cdfa2 100644
@@ -7,6 +7,7 @@
 
 #include <kunit/resource.h>
 #include <kunit/test.h>
+#include <kunit/test-bug.h>
 #include <kunit/static_stub.h>
 #include <linux/device/faux.h>
 #include <linux/firmware/cirrus/cs_dsp.h>
Signature · 1 line
2.47.3
maintainer
#1 lore raw
Quoted 6 lines · Richard Fitzgerald

cs-amp-lib-test uses functions from kunit/test-bug.h but wasn't including it.

This error was found by smatch.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: cs-amp-lib-test: Fix missing include of kunit/test-bug.h

      commit: ec20584f25233bfe292c8e18f9a429dfaff58a49

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark