Files
linux/drivers
Jia Zhang bb3b6b0fc5 tpm: Simplify the measurements loop
The responsibility of tpm1_bios_measurements_start() is to walk over the
first *pos measurements, ensuring the skipped and to-be-read
measurements are not out-of-boundary.

This commit simplifies the loop by employing a do-while loop with
the necessary sanity check.

Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
Reviewd-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
2019-02-13 09:47:00 +02:00
..
2018-12-19 09:40:13 +01:00
2018-12-29 08:20:44 -07:00
2019-02-13 09:47:00 +02:00
2019-01-11 00:15:04 +01:00
2019-01-19 16:06:52 -08:00
2018-12-24 12:06:56 +01:00