[efi:next 1/7] drivers/firmware/efi/libstub/efi-stub-helper.c:225:26: warning: field tagged_event within 'struct efistub_measured_event' is less aligned than 'TCG_PCClientTaggedEvent' (aka 'struct tdTCG_PCClientTaggedEvent') and is usually due to 'struct efistub_measure...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
head:   4749cfc7ffaa827b6ecc916ab8d09bae718688bc
commit: bb208e67140ccce8c96f370a3e6f432b8a8f1adf [1/7] efi/libstub: Use TPM event typedefs from the TCG PC Client spec
config: arm-randconfig-001-20240309 (https://download.01.org/0day-ci/archive/20240309/202403091104.pfjTGT8z-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240309/202403091104.pfjTGT8z-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403091104.pfjTGT8z-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/firmware/efi/libstub/efi-stub-helper.c:225:26: warning: field tagged_event within 'struct efistub_measured_event' is less aligned than 'TCG_PCClientTaggedEvent' (aka 'struct tdTCG_PCClientTaggedEvent') and is usually due to 'struct efistub_measured_event' being packed, which can lead to unaligned accesses [-Wunaligned-access]
           TCG_PCClientTaggedEvent tagged_event;
                                   ^
   1 warning generated.


vim +225 drivers/firmware/efi/libstub/efi-stub-helper.c

   222	
   223	struct efistub_measured_event {
   224		efi_tcg2_event_t	event_data;
 > 225		TCG_PCClientTaggedEvent tagged_event;
   226	} __packed;
   227	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux