lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4595844.NIUnxKiA0y@wuerfel>
Date:	Mon, 11 Jan 2016 13:13:01 +0100
From:	Arnd Bergmann <arnd@...db.de>
To:	broonie@...nel.org
Cc:	lgirdwood@...il.com, alsa-devel@...a-project.org,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	Alex Deucher <alexander.deucher@....com>,
	Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@....com>,
	Murali Krishna Vemuri <murali-krishna.vemuri@....com>
Subject: [PATCH] ASoC: AMD: add missing include

The newly added AMD acp driver is missing an include for linux/io.h
and fails to build on ARM:

sound/soc/amd/acp-pcm-dma.c: In function 'acp_reg_read':
sound/soc/amd/acp-pcm-dma.c:83:9: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration]

This adds the missing line.

Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
This build error also appeared today on linux-next with ARM randconfig

diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c
index cc8b841b69b6..fa0311e4faed 100644
--- a/sound/soc/amd/acp-pcm-dma.c
+++ b/sound/soc/amd/acp-pcm-dma.c
@@ -17,6 +17,7 @@
 #include <linux/delay.h>
 #include <linux/sizes.h>
 #include <linux/pm_runtime.h>
+#include <linux/io.h>
 
 #include <sound/soc.h>
 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ