All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] remoteproc: qcom: mdt_loader: add include for sizes
@ 2016-11-22 17:02 Stanimir Varbanov
  2016-11-23 22:48 ` Stephen Boyd
  2016-12-03  4:49   ` Bjorn Andersson
  0 siblings, 2 replies; 4+ messages in thread
From: Stanimir Varbanov @ 2016-11-22 17:02 UTC (permalink / raw)
  To: Ohad Ben-Cohen, Bjorn Andersson
  Cc: Andy Gross, linux-remoteproc, Stephen Boyd, linux-kernel,
	linux-arm-msm, Stanimir Varbanov

Add linux/sizes.h to prevent build failure on non ARM architectures
as:

CC [M]  drivers/remoteproc/qcom_mdt_loader.o
In file included from include/linux/cache.h:4:0,
                 from include/linux/printk.h:8,
                 from include/linux/kernel.h:13,
                 from include/asm-generic/bug.h:13,
                 from arch/x86/include/asm/bug.h:35,
                 from include/linux/bug.h:4,
                 from include/linux/thread_info.h:11,
                 from arch/x86/include/asm/elf.h:7,
                 from include/linux/elf.h:4,
                 from drivers/remoteproc/qcom_mdt_loader.c:18:
drivers/remoteproc/qcom_mdt_loader.c: In function ‘qcom_mdt_parse’:
drivers/remoteproc/qcom_mdt_loader.c:90:52: error: ‘SZ_4K’ undeclared
(first use in this function)

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
---
 drivers/remoteproc/qcom_mdt_loader.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/remoteproc/qcom_mdt_loader.c b/drivers/remoteproc/qcom_mdt_loader.c
index 114e8e4cef67..2ff18cd6c096 100644
--- a/drivers/remoteproc/qcom_mdt_loader.c
+++ b/drivers/remoteproc/qcom_mdt_loader.c
@@ -20,6 +20,7 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/remoteproc.h>
+#include <linux/sizes.h>
 #include <linux/slab.h>
 
 #include "remoteproc_internal.h"
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/3] remoteproc: qcom: mdt_loader: add include for sizes
  2016-11-22 17:02 [PATCH 1/3] remoteproc: qcom: mdt_loader: add include for sizes Stanimir Varbanov
@ 2016-11-23 22:48 ` Stephen Boyd
  2016-12-03  4:49   ` Bjorn Andersson
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2016-11-23 22:48 UTC (permalink / raw)
  To: Stanimir Varbanov
  Cc: Ohad Ben-Cohen, Bjorn Andersson, Andy Gross, linux-remoteproc,
	linux-kernel, linux-arm-msm

On 11/22, Stanimir Varbanov wrote:
> Add linux/sizes.h to prevent build failure on non ARM architectures
> as:
> 
> CC [M]  drivers/remoteproc/qcom_mdt_loader.o
> In file included from include/linux/cache.h:4:0,
>                  from include/linux/printk.h:8,
>                  from include/linux/kernel.h:13,
>                  from include/asm-generic/bug.h:13,
>                  from arch/x86/include/asm/bug.h:35,
>                  from include/linux/bug.h:4,
>                  from include/linux/thread_info.h:11,
>                  from arch/x86/include/asm/elf.h:7,
>                  from include/linux/elf.h:4,
>                  from drivers/remoteproc/qcom_mdt_loader.c:18:
> drivers/remoteproc/qcom_mdt_loader.c: In function ‘qcom_mdt_parse’:
> drivers/remoteproc/qcom_mdt_loader.c:90:52: error: ‘SZ_4K’ undeclared
> (first use in this function)
> 
> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
> ---

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/3] remoteproc: qcom: mdt_loader: add include for sizes
  2016-11-22 17:02 [PATCH 1/3] remoteproc: qcom: mdt_loader: add include for sizes Stanimir Varbanov
@ 2016-12-03  4:49   ` Bjorn Andersson
  2016-12-03  4:49   ` Bjorn Andersson
  1 sibling, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2016-12-03  4:49 UTC (permalink / raw)
  To: Stanimir Varbanov
  Cc: Ohad Ben-Cohen, Andy Gross, linux-remoteproc, Stephen Boyd,
	linux-kernel, linux-arm-msm

On Tue 22 Nov 09:02 PST 2016, Stanimir Varbanov wrote:

> Add linux/sizes.h to prevent build failure on non ARM architectures
> as:
> 
> CC [M]  drivers/remoteproc/qcom_mdt_loader.o
> In file included from include/linux/cache.h:4:0,
>                  from include/linux/printk.h:8,
>                  from include/linux/kernel.h:13,
>                  from include/asm-generic/bug.h:13,
>                  from arch/x86/include/asm/bug.h:35,
>                  from include/linux/bug.h:4,
>                  from include/linux/thread_info.h:11,
>                  from arch/x86/include/asm/elf.h:7,
>                  from include/linux/elf.h:4,
>                  from drivers/remoteproc/qcom_mdt_loader.c:18:
> drivers/remoteproc/qcom_mdt_loader.c: In function �qcom_mdt_parse�:
> drivers/remoteproc/qcom_mdt_loader.c:90:52: error: �SZ_4K� undeclared
> (first use in this function)
> 
> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>

Applied

Thanks,
Bjorn

> ---
>  drivers/remoteproc/qcom_mdt_loader.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/remoteproc/qcom_mdt_loader.c b/drivers/remoteproc/qcom_mdt_loader.c
> index 114e8e4cef67..2ff18cd6c096 100644
> --- a/drivers/remoteproc/qcom_mdt_loader.c
> +++ b/drivers/remoteproc/qcom_mdt_loader.c
> @@ -20,6 +20,7 @@
>  #include <linux/kernel.h>
>  #include <linux/module.h>
>  #include <linux/remoteproc.h>
> +#include <linux/sizes.h>
>  #include <linux/slab.h>
>  
>  #include "remoteproc_internal.h"
> -- 
> 2.7.4
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/3] remoteproc: qcom: mdt_loader: add include for sizes
@ 2016-12-03  4:49   ` Bjorn Andersson
  0 siblings, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2016-12-03  4:49 UTC (permalink / raw)
  To: Stanimir Varbanov
  Cc: Ohad Ben-Cohen, Andy Gross, linux-remoteproc, Stephen Boyd,
	linux-kernel, linux-arm-msm

On Tue 22 Nov 09:02 PST 2016, Stanimir Varbanov wrote:

> Add linux/sizes.h to prevent build failure on non ARM architectures
> as:
> 
> CC [M]  drivers/remoteproc/qcom_mdt_loader.o
> In file included from include/linux/cache.h:4:0,
>                  from include/linux/printk.h:8,
>                  from include/linux/kernel.h:13,
>                  from include/asm-generic/bug.h:13,
>                  from arch/x86/include/asm/bug.h:35,
>                  from include/linux/bug.h:4,
>                  from include/linux/thread_info.h:11,
>                  from arch/x86/include/asm/elf.h:7,
>                  from include/linux/elf.h:4,
>                  from drivers/remoteproc/qcom_mdt_loader.c:18:
> drivers/remoteproc/qcom_mdt_loader.c: In function ‘qcom_mdt_parse’:
> drivers/remoteproc/qcom_mdt_loader.c:90:52: error: ‘SZ_4K’ undeclared
> (first use in this function)
> 
> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>

Applied

Thanks,
Bjorn

> ---
>  drivers/remoteproc/qcom_mdt_loader.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/remoteproc/qcom_mdt_loader.c b/drivers/remoteproc/qcom_mdt_loader.c
> index 114e8e4cef67..2ff18cd6c096 100644
> --- a/drivers/remoteproc/qcom_mdt_loader.c
> +++ b/drivers/remoteproc/qcom_mdt_loader.c
> @@ -20,6 +20,7 @@
>  #include <linux/kernel.h>
>  #include <linux/module.h>
>  #include <linux/remoteproc.h>
> +#include <linux/sizes.h>
>  #include <linux/slab.h>
>  
>  #include "remoteproc_internal.h"
> -- 
> 2.7.4
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-03  4:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-22 17:02 [PATCH 1/3] remoteproc: qcom: mdt_loader: add include for sizes Stanimir Varbanov
2016-11-23 22:48 ` Stephen Boyd
2016-12-03  4:49 ` Bjorn Andersson
2016-12-03  4:49   ` Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.