Re: [U-Boot] [PATCH 1/1] net: nfs: remove superfluous packed attribute

2019-09-03 Thread Joe Hershberger
On Mon, Sep 2, 2019 at 5:05 PM Heinrich Schuchardt wrote: > > With GCC 9.2.1 net/nfs.c leads to multiple errors of type > address-of-packed-member. > > net/nfs.c: In function ‘rpc_req’: > net/nfs.c:199:18: error: taking address of packed member of > ‘struct rpc_t’ may result in an unaligned

Re: [U-Boot] [PATCH 1/1] net: nfs: remove superfluous packed attribute

2019-09-02 Thread Bin Meng
On Tue, Sep 3, 2019 at 6:05 AM Heinrich Schuchardt wrote: > > With GCC 9.2.1 net/nfs.c leads to multiple errors of type > address-of-packed-member. > > net/nfs.c: In function ‘rpc_req’: > net/nfs.c:199:18: error: taking address of packed member of > ‘struct rpc_t’ may result in an unaligned

[U-Boot] [PATCH 1/1] net: nfs: remove superfluous packed attribute

2019-09-02 Thread Heinrich Schuchardt
With GCC 9.2.1 net/nfs.c leads to multiple errors of type address-of-packed-member. net/nfs.c: In function ‘rpc_req’: net/nfs.c:199:18: error: taking address of packed member of ‘struct rpc_t’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 199 | p = (uint32_t