Re: [U-Boot] [BUG] net: nfs: -Werror=address-of-packed-member

2019-09-03 Thread Heinrich Schuchardt
On 9/3/19 11:32 PM, Joe Hershberger wrote: Hi Heinrich, On Mon, Sep 2, 2019 at 4:39 PM Heinrich Schuchardt wrote: Hello Joe, GCC 9.2.1 (of Debian Bullseye) produces the warnings below when building pine64-lts_defconfig. Is it really necessary to define struct rpc_t as packed? The structure

Re: [U-Boot] [BUG] net: nfs: -Werror=address-of-packed-member

2019-09-03 Thread Joe Hershberger
Hi Heinrich, On Mon, Sep 2, 2019 at 4:39 PM Heinrich Schuchardt wrote: > > Hello Joe, > > GCC 9.2.1 (of Debian Bullseye) produces the warnings below when building > pine64-lts_defconfig. Is it really necessary to define struct rpc_t as > packed? The structure is composed out of uint32_t only. So

[U-Boot] [BUG] net: nfs: -Werror=address-of-packed-member

2019-09-02 Thread Heinrich Schuchardt
Hello Joe, GCC 9.2.1 (of Debian Bullseye) produces the warnings below when building pine64-lts_defconfig. Is it really necessary to define struct rpc_t as packed? The structure is composed out of uint32_t only. So shouldn't it be naturally packed without the attribute? net/nfs.c: In function