[lkml]   [2019]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectlinux-next: build warning after merge of the tpmdd tree
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")

Stephen Rothwell
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2019-06-11 06:53    [W:0.769 / U:1.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site