[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ofnet: fix build regression in grub_ieee1275_parse_bootpath
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] ofnet: fix build regression in grub_ieee1275_parse_bootpath |
Date: |
Wed, 28 Nov 2018 13:58:30 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Tue, Nov 27, 2018 at 03:17:26PM -0800, Eric Snowberg wrote:
> The grub_ieee1275_parse_bootpath function (commit a661a32, ofnet: Initialize
> structs in bootpath parser.) introduces a build regression on SPARC:
>
> cc1: warnings being treated as errors
> net/drivers/ieee1275/ofnet.c: In function 'grub_ieee1275_parse_bootpath':
> net/drivers/ieee1275/ofnet.c:156: error: missing initializer
> net/drivers/ieee1275/ofnet.c:156: error: (near initialization for
> 'client_addr.type')
> net/drivers/ieee1275/ofnet.c:156: error: missing initializer
> net/drivers/ieee1275/ofnet.c:156: error: (near initialization for
> 'gateway_addr.type')
> net/drivers/ieee1275/ofnet.c:156: error: missing initializer
> net/drivers/ieee1275/ofnet.c:156: error: (near initialization for
> 'subnet_mask.type')
> net/drivers/ieee1275/ofnet.c:157: error: missing initializer
> net/drivers/ieee1275/ofnet.c:157: error: (near initialization for
> 'hw_addr.type')
> make[3]: *** [net/drivers/ieee1275/ofnet_module-ofnet.o] Error 1
>
> Initialize the entire structure.
>
> Signed-off-by: Eric Snowberg <address@hidden>
Pushed with minor changes. Thanks!
Daniel