OSDN Git Service

staging: dpaa2-switch: pack the firmware command structures
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 19 Nov 2020 16:50:17 +0000 (18:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Nov 2020 17:02:09 +0000 (18:02 +0100)
commitf65b243d6ab856d768aa8039da8a2a47603b8847
tree8a2c74ef50e2b29f0ec59116ffe85132da3e443e
parentdab4812705c91f35e54ca8e605ca2891a364d65c
staging: dpaa2-switch: pack the firmware command structures

The structures defined in the dpsw-cmd.h header file describe exactly
the layout of commands accepted by the MC firmware. Make sure that all
these structures are packed.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20201119165017.806696-4-ciorneiioana@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h