]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: remove pragma packed
authorShannon Nelson <snelson@pensando.io>
Sat, 7 Mar 2020 01:04:02 +0000 (17:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 02:34:04 +0000 (19:34 -0700)
commit3d9612dc19d8f46aeda4a53215cdbbc62cf8c1e5
treecda553e466c8ded4b080876cfd71d5ea46a2488d
parent6cdaee70913924d3e0bcd4229efa65b2bccc8a2e
ionic: remove pragma packed

Replace the misguided "#pragma packed" with tags on each
struct/union definition that actually needs it.  This is safer
and more efficient on the various compilers and architectures.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_if.h