From: Ursula Braun <ubraun@xxxxxxxxxxxxx> Date: Thu, 15 Nov 2018 13:11:15 +0100 > v1->v2: > do not define 8-byte alignment for union smcd_cdc_cursor in > patch 4/5 "net/smc: atomic SMCD cursor handling" This is even worse. The atomic64_t must be properly 8 byte aligned, else it will crash the kernel when an atomic operation is attempted on it. You have a situation where your struct attributes are entirely incompatible. If the parent struct is __packed, you absolutely cannot align the atomic64_t in the child structure properly. One more time, __packed makes correctness here impossible. I've warned strongly in the past to avoid __packed. Now you have to untangle this mess somehow.