]> git.ipfire.org Git - thirdparty/linux.git/commit
optee: fix format string for printing optee build_id
authorSahil Malhotra <sahil.malhotra@nxp.com>
Fri, 29 Nov 2024 11:46:48 +0000 (12:46 +0100)
committerJens Wiklander <jens.wiklander@linaro.org>
Tue, 17 Dec 2024 10:22:46 +0000 (11:22 +0100)
commit1ff7d092dce0b2273dce4b8d33fa5856679dd25b
tree20005c65f6be476e1d2464a678f7028493f82f6c
parentfac04efc5c793dccbd07e2d59af9f90b7fc0dca4
optee: fix format string for printing optee build_id

There has been a recent change in OP-TEE to print 8 and 16 character
commit id for 32bit and 64bit architecture respectively.
In case if commit id is starting with 0 like 04d1c612ec7beaede073b8c
it is printing revision as below removing leading 0
"optee: revision 4.4 (4d1c612ec7beaed)"

Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Link: https://lore.kernel.org/r/20241129114648.3048941-1-sahil.malhotra@nxp.com
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/smc_abi.c