All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] add common.h include to stdio_dev.h
@ 2018-05-02  9:59 Peter Robinson
  2018-05-02 11:24 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Robinson @ 2018-05-02  9:59 UTC (permalink / raw)
  To: u-boot

stdio_dev.h references uchar which is defined in common.h and causes build
failures on toolchains which have tightened build flags such as Fedora 28. This
was causing build failures on devices such as Xilinx zynqmp targets which
include stdio_dev.h via FPGA drivers.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 include/stdio_dev.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/stdio_dev.h b/include/stdio_dev.h
index 3164fa2a55..eed4385100 100644
--- a/include/stdio_dev.h
+++ b/include/stdio_dev.h
@@ -8,6 +8,7 @@
 #ifndef _STDIO_DEV_H_
 #define _STDIO_DEV_H_
 
+#include <common.h>
 #include <linux/list.h>
 
 /*
-- 
2.17.0

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

* [U-Boot] [PATCH] add common.h include to stdio_dev.h
  2018-05-02  9:59 [U-Boot] [PATCH] add common.h include to stdio_dev.h Peter Robinson
@ 2018-05-02 11:24 ` Tom Rini
  2018-05-02 11:25   ` Peter Robinson
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2018-05-02 11:24 UTC (permalink / raw)
  To: u-boot

On Wed, May 02, 2018 at 10:59:12AM +0100, Peter Robinson wrote:

> stdio_dev.h references uchar which is defined in common.h and causes build
> failures on toolchains which have tightened build flags such as Fedora 28. This
> was causing build failures on devices such as Xilinx zynqmp targets which
> include stdio_dev.h via FPGA drivers.
> 
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> ---
>  include/stdio_dev.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/stdio_dev.h b/include/stdio_dev.h
> index 3164fa2a55..eed4385100 100644
> --- a/include/stdio_dev.h
> +++ b/include/stdio_dev.h
> @@ -8,6 +8,7 @@
>  #ifndef _STDIO_DEV_H_
>  #define _STDIO_DEV_H_
>  
> +#include <common.h>
>  #include <linux/list.h>
>  
>  /*

I have an alternative fix in progress here:
https://travis-ci.org/trini/u-boot/builds/373883559 as it looks like the
section in question is just unused now.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180502/cec7026e/attachment.sig>

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

* [U-Boot] [PATCH] add common.h include to stdio_dev.h
  2018-05-02 11:24 ` Tom Rini
@ 2018-05-02 11:25   ` Peter Robinson
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Robinson @ 2018-05-02 11:25 UTC (permalink / raw)
  To: u-boot

On Wed, May 2, 2018 at 12:24 PM, Tom Rini <trini@konsulko.com> wrote:
> On Wed, May 02, 2018 at 10:59:12AM +0100, Peter Robinson wrote:
>
>> stdio_dev.h references uchar which is defined in common.h and causes build
>> failures on toolchains which have tightened build flags such as Fedora 28. This
>> was causing build failures on devices such as Xilinx zynqmp targets which
>> include stdio_dev.h via FPGA drivers.
>>
>> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
>> ---
>>  include/stdio_dev.h | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/include/stdio_dev.h b/include/stdio_dev.h
>> index 3164fa2a55..eed4385100 100644
>> --- a/include/stdio_dev.h
>> +++ b/include/stdio_dev.h
>> @@ -8,6 +8,7 @@
>>  #ifndef _STDIO_DEV_H_
>>  #define _STDIO_DEV_H_
>>
>> +#include <common.h>
>>  #include <linux/list.h>
>>
>>  /*
>
> I have an alternative fix in progress here:
> https://travis-ci.org/trini/u-boot/builds/373883559 as it looks like the
> section in question is just unused now.

Cool, works for me if it builds ;-)

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

end of thread, other threads:[~2018-05-02 11:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-02  9:59 [U-Boot] [PATCH] add common.h include to stdio_dev.h Peter Robinson
2018-05-02 11:24 ` Tom Rini
2018-05-02 11:25   ` Peter Robinson

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.