* [PATCH 0/5] soc: qcom: remove depends on ARCH_QCOM
@ 2018-06-13 12:53 Niklas Cassel
2018-06-13 12:53 ` [PATCH 1/5] rpmsg: smd: Add missing include of sizes.h Niklas Cassel
0 siblings, 1 reply; 3+ messages in thread
From: Niklas Cassel @ 2018-06-13 12:53 UTC (permalink / raw)
To: linux-remoteproc, linux-arm-msm, linux-soc; +Cc: Niklas Cassel, linux-kernel
Since commit cab673583d96 ("soc: Unconditionally include qcom Makefile"),
we unconditionally include the soc/qcom/Makefile.
This opens up the possibility to compile test the code even when
building for other architectures.
This patch series prepares and enables all but two Kconfigs to be
compile tested even when building for other architectures.
Niklas Cassel (5):
rpmsg: smd: Add missing include of sizes.h
soc: qcom: smem: Add missing include of sizes.h
soc: qcom: smp2p: Add select IRQ_DOMAIN
soc: qcom: smsm: Add select IRQ_DOMAIN
soc: qcom: Remove depends on ARCH_QCOM
drivers/rpmsg/qcom_smd.c | 1 +
drivers/soc/qcom/Kconfig | 12 ++++--------
drivers/soc/qcom/smem.c | 1 +
3 files changed, 6 insertions(+), 8 deletions(-)
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/5] rpmsg: smd: Add missing include of sizes.h
2018-06-13 12:53 [PATCH 0/5] soc: qcom: remove depends on ARCH_QCOM Niklas Cassel
@ 2018-06-13 12:53 ` Niklas Cassel
2018-06-13 13:16 ` Niklas Cassel
0 siblings, 1 reply; 3+ messages in thread
From: Niklas Cassel @ 2018-06-13 12:53 UTC (permalink / raw)
To: Ohad Ben-Cohen, Bjorn Andersson
Cc: Niklas Cassel, linux-remoteproc, linux-kernel
Add missing include of sizes.h.
drivers/rpmsg/qcom_smd.c: In function ‘qcom_smd_channel_open’:
drivers/rpmsg/qcom_smd.c:809:36: error: ‘SZ_4K’ undeclared (first use in this function)
bb_size = min(channel->fifo_size, SZ_4K);
^~~~~
Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
---
drivers/rpmsg/qcom_smd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c
index 6437bbeebc91..8695cb041c31 100644
--- a/drivers/rpmsg/qcom_smd.c
+++ b/drivers/rpmsg/qcom_smd.c
@@ -14,6 +14,7 @@
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/sched.h>
+#include <linux/sizes.h>
#include <linux/slab.h>
#include <linux/soc/qcom/smem.h>
#include <linux/wait.h>
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/5] rpmsg: smd: Add missing include of sizes.h
2018-06-13 12:53 ` [PATCH 1/5] rpmsg: smd: Add missing include of sizes.h Niklas Cassel
@ 2018-06-13 13:16 ` Niklas Cassel
0 siblings, 0 replies; 3+ messages in thread
From: Niklas Cassel @ 2018-06-13 13:16 UTC (permalink / raw)
To: Ohad Ben-Cohen, Bjorn Andersson, andy.gross
Cc: linux-remoteproc, linux-kernel, linux-arm-msm
On Wed, Jun 13, 2018 at 02:53:56PM +0200, Niklas Cassel wrote:
> Add missing include of sizes.h.
>
> drivers/rpmsg/qcom_smd.c: In function ‘qcom_smd_channel_open’:
> drivers/rpmsg/qcom_smd.c:809:36: error: ‘SZ_4K’ undeclared (first use in this function)
> bb_size = min(channel->fifo_size, SZ_4K);
> ^~~~~
>
> Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
> ---
Argh, my git send-email scripts were too stupid to add Andy
and linux-arm-msm to this patch.
Some of the drivers in drivers/soc/qcom depended on this file.
Not sure if this patch should go via Andy's tree or Bjorn's.
Regards,
Niklas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-13 13:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-13 12:53 [PATCH 0/5] soc: qcom: remove depends on ARCH_QCOM Niklas Cassel
2018-06-13 12:53 ` [PATCH 1/5] rpmsg: smd: Add missing include of sizes.h Niklas Cassel
2018-06-13 13:16 ` Niklas Cassel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox