Re: [PATCH v2] Kernel selftests: Add check if tpm devices are supported

From: Jarkko Sakkinen
Date: Tue May 19 2020 - 15:00:49 EST


On Tue, May 19, 2020 at 03:07:43PM +0300, Nikita Sobolev wrote:
> tpm2 tests set uses /dev/tpm0 and /dev/tpmrm0 without check if they
> are available. In case, when these devices are not available test
> fails, but expected behaviour is skipped test.
>
> Signed-off-by: Nikita Sobolev <Nikita.Sobolev@xxxxxxxxxxxx>

See

https://lore.kernel.org/linux-kselftest/20200519134838.GA17129@xxxxxxxxxxxxxxx/T/#mf762512a67f0b23db5663d6d67746cb94b812931

The comments about the fixes tag and acronym spelling were not
addressed. The code change looks great tho now, thanks.

/Jarkko