mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] host-dtc: version bump 1.6.0 to 1.6.1
@ 2021-07-31 15:18 Bruno Thomsen
  2021-08-04  6:14 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Bruno Thomsen @ 2021-07-31 15:18 UTC (permalink / raw)
  To: ptxdist; +Cc: bruno.thomsen

The new 1.6.1 version is more gcc11 ready and
it fixes the following error when build on fedora.

In file included from fdtdump.c:14:
fdtdump.c: In function 'main':
libfdt/libfdt.h:251:28: error: array subscript 'struct fdt_header[0]' is
 partly outside array bounds of 'unsigned char[4]' [-Werror=array-bounds]
  251 |                 fdth->name = cpu_to_fdt32(val); \
      |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
libfdt/libfdt.h:253:1: note: in expansion of macro 'fdt_set_hdr_'
  253 | fdt_set_hdr_(magic);
      | ^~~~~~~~~~~~
fdtdump.c:216:31: note: while referencing 'smagic'
  216 |                 unsigned char smagic[FDT_MAGIC_SIZE];
      |                               ^~~~~~

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
 platforms/host-dtc.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/platforms/host-dtc.in b/platforms/host-dtc.in
index 4567464c3..00a2c7ffb 100644
--- a/platforms/host-dtc.in
+++ b/platforms/host-dtc.in
@@ -12,12 +12,12 @@ if HOST_DTC
 
 config HOST_DTC_VERSION
 	string "Device tree compiler version"
-	default "1.6.0"
+	default "1.6.1"
 	help
 	  Specify the DTC version number to be used
 
 config HOST_DTC_MD5
 	string "dtc source md5sum"
-	default "cd36ac756290597f3cf1c5b6cfe12e77"
+	default "380e536cdad51ec0e90c9a8c28df5aac"
 
 endif

base-commit: cf777f9ebc8ae074b2c78ff297662ce25aec2e8f
-- 
2.31.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


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

* Re: [ptxdist] [APPLIED] host-dtc: version bump 1.6.0 to 1.6.1
  2021-07-31 15:18 [ptxdist] [PATCH] host-dtc: version bump 1.6.0 to 1.6.1 Bruno Thomsen
@ 2021-08-04  6:14 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-08-04  6:14 UTC (permalink / raw)
  To: ptxdist; +Cc: Bruno Thomsen

Thanks, applied as 89a84394677eb123d799187858bd6c820d524d80.

Michael

[sent from post-receive hook]

On Wed, 04 Aug 2021 08:14:18 +0200, Bruno Thomsen <bruno.thomsen@gmail.com> wrote:
> The new 1.6.1 version is more gcc11 ready and
> it fixes the following error when build on fedora.
> 
> In file included from fdtdump.c:14:
> fdtdump.c: In function 'main':
> libfdt/libfdt.h:251:28: error: array subscript 'struct fdt_header[0]' is
>  partly outside array bounds of 'unsigned char[4]' [-Werror=array-bounds]
>   251 |                 fdth->name = cpu_to_fdt32(val); \
>       |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
> libfdt/libfdt.h:253:1: note: in expansion of macro 'fdt_set_hdr_'
>   253 | fdt_set_hdr_(magic);
>       | ^~~~~~~~~~~~
> fdtdump.c:216:31: note: while referencing 'smagic'
>   216 |                 unsigned char smagic[FDT_MAGIC_SIZE];
>       |                               ^~~~~~
> 
> Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
> Message-Id: <20210731151842.4964-1-bruno.thomsen@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/platforms/host-dtc.in b/platforms/host-dtc.in
> index 4567464c3d6b..00a2c7ffb71f 100644
> --- a/platforms/host-dtc.in
> +++ b/platforms/host-dtc.in
> @@ -12,12 +12,12 @@ if HOST_DTC
>  
>  config HOST_DTC_VERSION
>  	string "Device tree compiler version"
> -	default "1.6.0"
> +	default "1.6.1"
>  	help
>  	  Specify the DTC version number to be used
>  
>  config HOST_DTC_MD5
>  	string "dtc source md5sum"
> -	default "cd36ac756290597f3cf1c5b6cfe12e77"
> +	default "380e536cdad51ec0e90c9a8c28df5aac"
>  
>  endif

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


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

end of thread, other threads:[~2021-08-04  6:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-31 15:18 [ptxdist] [PATCH] host-dtc: version bump 1.6.0 to 1.6.1 Bruno Thomsen
2021-08-04  6:14 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox