Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tpm/tpm_ftpm_tee: Return true/false (not 1/0) from bool functions

Return boolean values ("true" or "false") instead of 1 or 0 from bool
functions.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>

authored by

Haowen Bai and committed by
Jarkko Sakkinen
80b8a397 4d997501

+1 -1
+1 -1
drivers/char/tpm/tpm_ftpm_tee.c
··· 177 177 178 178 static bool ftpm_tee_tpm_req_canceled(struct tpm_chip *chip, u8 status) 179 179 { 180 - return 0; 180 + return false; 181 181 } 182 182 183 183 static const struct tpm_class_ops ftpm_tee_tpm_ops = {