public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: cs-amp-lib-test: Fix missing include of kunit/test-bug.h
@ 2025-10-16  9:48 Richard Fitzgerald
  2025-10-21 11:37 ` Mark Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Fitzgerald @ 2025-10-16  9:48 UTC (permalink / raw)
  To: broonie; +Cc: linux-sound, linux-kernel, patches

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")
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
---
 sound/soc/codecs/cs-amp-lib-test.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/cs-amp-lib-test.c b/sound/soc/codecs/cs-amp-lib-test.c
index 2fde84309338..3406887cdfa2 100644
--- a/sound/soc/codecs/cs-amp-lib-test.c
+++ b/sound/soc/codecs/cs-amp-lib-test.c
@@ -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>
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ASoC: cs-amp-lib-test: Fix missing include of kunit/test-bug.h
@ 2025-10-16  9:51 Richard Fitzgerald
  2025-10-16  9:53 ` Richard Fitzgerald
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Fitzgerald @ 2025-10-16  9:51 UTC (permalink / raw)
  To: broonie; +Cc: linux-sound, linux-kernel, patches

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")
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
---
 sound/soc/codecs/cs-amp-lib-test.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/cs-amp-lib-test.c b/sound/soc/codecs/cs-amp-lib-test.c
index 2fde84309338..3406887cdfa2 100644
--- a/sound/soc/codecs/cs-amp-lib-test.c
+++ b/sound/soc/codecs/cs-amp-lib-test.c
@@ -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>
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ASoC: cs-amp-lib-test: Fix missing include of kunit/test-bug.h
  2025-10-16  9:51 [PATCH] ASoC: cs-amp-lib-test: Fix missing include of kunit/test-bug.h Richard Fitzgerald
@ 2025-10-16  9:53 ` Richard Fitzgerald
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Fitzgerald @ 2025-10-16  9:53 UTC (permalink / raw)
  To: broonie; +Cc: linux-sound, linux-kernel, patches

On 16/10/2025 10:51 am, Richard Fitzgerald wrote:
> 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")
> Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
> ---
Ignore this duplicate email. It got sent twice. Sorry about that.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ASoC: cs-amp-lib-test: Fix missing include of kunit/test-bug.h
  2025-10-16  9:48 Richard Fitzgerald
@ 2025-10-21 11:37 ` Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2025-10-21 11:37 UTC (permalink / raw)
  To: Richard Fitzgerald; +Cc: linux-sound, linux-kernel, patches

On Thu, 16 Oct 2025 10:48:44 +0100, Richard Fitzgerald wrote:
> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-21 11:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-16  9:51 [PATCH] ASoC: cs-amp-lib-test: Fix missing include of kunit/test-bug.h Richard Fitzgerald
2025-10-16  9:53 ` Richard Fitzgerald
  -- strict thread matches above, loose matches on Subject: below --
2025-10-16  9:48 Richard Fitzgerald
2025-10-21 11:37 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox