]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: fsl-dpaa2/eth: Remove packed attribute
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Fri, 23 Mar 2018 13:44:08 +0000 (08:44 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Mar 2018 15:01:56 +0000 (16:01 +0100)
Structure dpaa2_fas is naturally aligned, so no need to use
the __packed attribute explicitly.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h

index 63ea64bf6ec974fd5baf9d745910baf2ac3e4585..c4816e607ec3fc1fc53a2b879ff7fc71f2b5e94d 100644 (file)
@@ -142,7 +142,7 @@ struct dpaa2_fas {
        u8 ppid;
        __le16 ifpid;
        __le32 status;
-} __packed;
+};
 
 /* Frame annotation status word is located in the first 8 bytes
  * of the buffer's hardware annoatation area