Hi all, After merging the tpmdd tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/firmware/efi/tpm.c: In function 'efi_tpm_eventlog_init': drivers/firmware/efi/tpm.c:80:10: warning: passing argument 1 of 'tpm2_calc_event_log_size' makes pointer from integer without a cast [-Wint-conversion] tbl_size = tpm2_calc_event_log_size(efi.tpm_final_log ~~~~~~~~~~~~~~~~~ + sizeof(final_tbl->version) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + sizeof(final_tbl->nr_events), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/firmware/efi/tpm.c:19:43: note: expected 'void *' but argument is of type 'long unsigned int' static int tpm2_calc_event_log_size(void *data, int count, void *size_info) ~~~~~~^~~~ Introduced by commit a537b15c54a3 ("tpm: Reserve the TPM final events table") -- Cheers, Stephen Rothwell
Attachment:
pgpZkiPuqT4nd.pgp
Description: OpenPGP digital signature