diff mbox series

ASoC: wm_adsp: Include array_size.h

Message ID 20240410161312.22313-1-rf@opensource.cirrus.com (mailing list archive)
State Accepted
Commit 4693b120299a5893034d1882ddbbe08af1d2ff07
Headers show
Series ASoC: wm_adsp: Include array_size.h | expand

Commit Message

Richard Fitzgerald April 10, 2024, 4:13 p.m. UTC
Explicitly #include array_size.h for the ARRAY_SIZE() macro.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
---
 sound/soc/codecs/wm_adsp.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Mark Brown April 10, 2024, 8:55 p.m. UTC | #1
On Wed, 10 Apr 2024 17:13:12 +0100, Richard Fitzgerald wrote:
> Explicitly #include array_size.h for the ARRAY_SIZE() macro.
> 
> 

Applied to

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

Thanks!

[1/1] ASoC: wm_adsp: Include array_size.h
      commit: 4693b120299a5893034d1882ddbbe08af1d2ff07

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
diff mbox series

Patch

diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index 7d5c096e06cd..9a89682ebc1f 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -7,6 +7,7 @@ 
  * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
  */
 
+#include <linux/array_size.h>
 #include <linux/ctype.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>