kernel/include/linux/tpm_eventlog.h
.. .. @@ -198,8 +198,8 @@ 198 198 * The loop below will unmap these fields if the log is larger than 199 199 * one page, so save them here for reference: 200 200 */ 201 - count = READ_ONCE(event->count);202 - event_type = READ_ONCE(event->event_type);201 + count = event->count;202 + event_type = event->event_type;203 203 204 204 /* Verify that it's the log header */ 205 205 if (event_header->pcr_idx != 0 ||