Re: [PATCH] soc/fsl: qbman: fix conflicting alignment attributes

2021-04-01 Thread Arnd Bergmann
From: Arnd Bergmann On Tue, 23 Mar 2021 14:15:23 +0100, Arnd Bergmann wrote: > When building with W=1, gcc points out that the __packed attribute > on struct qm_eqcr_entry conflicts with the 8-byte alignment > attribute on struct qm_fd inside it: > > drivers/soc/fsl/qbman/qman.c:189:1: error: al

Re: [PATCH] soc/fsl: qbman: fix conflicting alignment attributes

2021-03-26 Thread Arnd Bergmann
On Fri, Mar 26, 2021 at 3:17 AM Li Yang wrote: > On Tue, Mar 23, 2021 at 8:17 AM Arnd Bergmann wrote: > > > > From: Arnd Bergmann > > > > When building with W=1, gcc points out that the __packed attribute > > on struct qm_eqcr_entry conflicts with the 8-byte alignment > > attribute on struct qm_

Re: [PATCH] soc/fsl: qbman: fix conflicting alignment attributes

2021-03-25 Thread Li Yang
On Tue, Mar 23, 2021 at 8:17 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > When building with W=1, gcc points out that the __packed attribute > on struct qm_eqcr_entry conflicts with the 8-byte alignment > attribute on struct qm_fd inside it: > > drivers/soc/fsl/qbman/qman.c:189:1: error: a

[PATCH] soc/fsl: qbman: fix conflicting alignment attributes

2021-03-23 Thread Arnd Bergmann
From: Arnd Bergmann When building with W=1, gcc points out that the __packed attribute on struct qm_eqcr_entry conflicts with the 8-byte alignment attribute on struct qm_fd inside it: drivers/soc/fsl/qbman/qman.c:189:1: error: alignment 1 of 'struct qm_eqcr_entry' is less than 8 [-Werror=packed