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

2020-05-19 Thread Jarkko Sakkinen
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 See

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

2020-05-19 Thread Petr Vorel
> 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 OK, I see it was also reverted by Jarkko

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

2020-05-19 Thread Petr Vorel
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 Reviewed-by: Petr Vorel Thanks for v2, but I see v1 already

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

2020-05-19 Thread Nikita Sobolev
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 --- Changes for v2: - Coding Style cleanup