aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-06-01 11:30:28 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-01 11:30:28 -0700
commitb6f91ab6a2bac8580026fc4a5d4724f0b9eeb11f (patch)
tree2de6932e854c18944028022de23010398660a535 /include/linux
parentLinux 5.7 (diff)
parenttpm: eventlog: Replace zero-length array with flexible-array member (diff)
downloadwireguard-linux-b6f91ab6a2bac8580026fc4a5d4724f0b9eeb11f.tar.xz
wireguard-linux-b6f91ab6a2bac8580026fc4a5d4724f0b9eeb11f.zip
Merge tag 'tpmdd-next-20200522' of git://git.infradead.org/users/jjs/linux-tpmdd
Pull tpm updates from Jarkko Sakkinen. * tag 'tpmdd-next-20200522' of git://git.infradead.org/users/jjs/linux-tpmdd: tpm: eventlog: Replace zero-length array with flexible-array member tpm/tpm_ftpm_tee: Use UUID API for exporting the UUID
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/tpm_eventlog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tpm_eventlog.h b/include/linux/tpm_eventlog.h
index c253461b1c4e..4f8c90c93c29 100644
--- a/include/linux/tpm_eventlog.h
+++ b/include/linux/tpm_eventlog.h
@@ -97,7 +97,7 @@ struct tcg_pcr_event {
u32 event_type;
u8 digest[20];
u32 event_size;
- u8 event[0];
+ u8 event[];
} __packed;
struct tcg_event_field {