On Fri, Feb 23, 2024 at 03:39:10PM +0000, Richard Fitzgerald wrote: > +config SND_SOC_CS_AMP_LIB_TEST > + tristate "KUnit test for Cirrus Logic cs-amp-lib" > + depends on ACPI || COMPILE_TEST || KUNIT Should this not depend unconditionally on KUNIT rather than KUNIT or some other stuff? ie depends on ACPI || COMPILE_TEST depends on KUNIT or equivalent. > +#define TYPESAFE_ACTIVATE_STATIC_STUB_PTR(test, fn_ptr, replacement_fn) \ > + do { \ > + typecheck_fn(typeof(fn_ptr), replacement_fn); \ > + __kunit_activate_static_stub(test, fn_ptr, replacement_fn); \ > + } while (0) Should this be somewhere more generic in the kunit headers?
Attachment:
signature.asc
Description: PGP signature
- Follow-Ups:
- Re: [PATCH v2 6/6] ASoC: cs-amp-lib: Add KUnit test for calibration helpers
- From: Richard Fitzgerald
- Re: [PATCH v2 6/6] ASoC: cs-amp-lib: Add KUnit test for calibration helpers
- References:
- [PATCH v2 0/6] ALSA: cs35l56: Apply calibration from EFI
- From: Richard Fitzgerald
- [PATCH v2 6/6] ASoC: cs-amp-lib: Add KUnit test for calibration helpers
- From: Richard Fitzgerald
- [PATCH v2 0/6] ALSA: cs35l56: Apply calibration from EFI
- Prev by Date: Re: [PATCH] ASoC: soc-card: Fix missing locking in snd_soc_card_get_kcontrol()
- Next by Date: Re: [PATCH] dt-bindings: i2c: Remove obsolete i2c.txt
- Previous by thread: [PATCH v2 6/6] ASoC: cs-amp-lib: Add KUnit test for calibration helpers
- Next by thread: Re: [PATCH v2 6/6] ASoC: cs-amp-lib: Add KUnit test for calibration helpers
- Index(es):