Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > Compiler should not do address alignment on layout struct of efuse. > Otherwise it leads unexpected layout and size for certain arch suc as arm. > In x86-64, the results are identical before and after this patch. > > Also adjust bit-field to prevent over adjacent byte to avoid warning: > rtw88/rtw8822b.h:66:1: note: offset of packed bit-field `res2` has changed in GCC 4.4 > 66 | } __packed; > | ^ > > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Closes: https://lore.kernel.org/oe-kbuild-all/202412120131.qk0x6OhE-lkp@xxxxxxxxx/ > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> 1 patch(es) applied to rtw-next branch of rtw.git, thanks. 0daa521a1c8c wifi: rtw88: add __packed attribute to efuse layout struct --- https://github.com/pkshih/rtw.git