]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/char/tpm/tpm2-space.c
tpm: clean up tpm_try_transmit() error handling flow
[linux.git] / drivers / char / tpm / tpm2-space.c
index 39cb3915771e47fe1ede03fb1eff89fea8915351..5d6487575074147684571681b0e6390bf2285407 100644 (file)
@@ -162,7 +162,7 @@ static int tpm2_save_context(struct tpm_chip *chip, u32 handle, u8 *buf,
        return 0;
 }
 
-static void tpm2_flush_space(struct tpm_chip *chip)
+void tpm2_flush_space(struct tpm_chip *chip)
 {
        struct tpm_space *space = &chip->work_space;
        int i;