This patch set contains a bunch of disjoint bug fixes. v3: * Reordered patches a bit, i.e. trivial fixes in the head and the least trivial in the tail. <no xref> * Added the missing "return -ENODEV;" to tpm_transmit_cmd(), when the kernel is compiled without TPM support. https://lore.kernel.org/linux-integrity/202010110927.zsxMpek2-lkp@xxxxxxxxx/ v2: * Fix a kernel test bot warning. https://lore.kernel.org/linux-integrity/202010051152.9kxy43LO-lkp@xxxxxxxxx/ Jarkko Sakkinen (3): KEYS: trusted: Fix incorrect handling of tpm_get_random() KEYS: trusted: Fix migratable=1 failing KEYS: trusted: Reserve TPM for seal and unseal operations drivers/char/tpm/tpm.h | 4 - include/linux/tpm.h | 17 +++- security/keys/trusted-keys/trusted_tpm1.c | 94 ++++++++++++++++------- security/keys/trusted-keys/trusted_tpm2.c | 6 +- 4 files changed, 87 insertions(+), 34 deletions(-) -- 2.25.1