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

From: Petr Vorel
Date: Tue May 19 2020 - 08:16:11 EST


Hi Nikita,

> 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>
Reviewed-by: Petr Vorel <pvorel@xxxxxxx>

Thanks for v2, but I see v1 already merged in next tree since February.
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20200518&id=b32694cd0724d4ceca2c62cc7c3d3a8d1ffa11fc

Kind regards,
Petr