Skip to contentSkip to conversation

ALSA: memalloc: Fix missing PAGE_SIZE definition

PATCH In review Takashi Iwai 2 participants 2 messages Jul 30, 2018 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: memalloc: Fix missing PAGE_SIZE definition

The recent fix moved the inline snd_sgbuf_aligned_pages() outside the ifdef, and this triggered a build error on some architectures due to the undefined PAGE_SIZE, as spotted by 0day bot.
Fix it by adding the missing header inclusion.

Fixes 4cae99d9b530 ("ALSA: memalloc: declare snd_sgbuf_aligned_pages() unconditionally")
Cc Pierre-Louis Bossart <[email protected]>
---
 include/sound/memalloc.h | 2 ++
 1 file changed, 2 insertions(+)
include/sound/memalloc.h +2 -0
index c669900e6cbe..67561b997915 100644
@@ -24,6 +24,8 @@
 #ifndef __SOUND_MEMALLOC_H
 #define __SOUND_MEMALLOC_H
 
+#include <asm/page.h>
+
 struct device;
 
 /*
Signature · 1 line
2.18.0
#1 lore raw

Applied "ALSA: memalloc: Fix missing PAGE_SIZE definition" to the asoc tree

The patch

ALSA: memalloc: Fix missing PAGE_SIZE definition

has been applied to the asoc tree at

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

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

Quoted 1 line

From 345a9ca37aa69bb3133c1a8390a71f993abcef0c Mon Sep 17 00:00:00 2001

From: Takashi Iwai <[email protected]>
Date: Mon, 30 Jul 2018 08:46:40 +0200
Subject: [PATCH] ALSA: memalloc: Fix missing PAGE_SIZE definition

The recent fix moved the inline snd_sgbuf_aligned_pages() outside the ifdef, and this triggered a build error on some architectures due to the undefined PAGE_SIZE, as spotted by 0day bot.
Fix it by adding the missing header inclusion.

Fixes 4cae99d9b530 ("ALSA: memalloc: declare snd_sgbuf_aligned_pages() unconditionally")
Cc Pierre-Louis Bossart <[email protected]>
---
 include/sound/memalloc.h | 2 ++
 1 file changed, 2 insertions(+)
include/sound/memalloc.h +2 -0
index c669900e6cbe..67561b997915 100644
@@ -24,6 +24,8 @@
 #ifndef __SOUND_MEMALLOC_H
 #define __SOUND_MEMALLOC_H
 
+#include <asm/page.h>
+
 struct device;
 
 /*
Signature · 1 line
2.18.0