Hi, On 26.04.21 at 16:49, Stefan Berger wrote: >> diff --git a/include/linux/tpm.h b/include/linux/tpm.h >> index 55debe6..e9882acf 100644 >> --- a/include/linux/tpm.h >> +++ b/include/linux/tpm.h >> @@ -126,7 +126,7 @@ struct tpm_chip { >> struct tpm_chip_seqops bin_log_seqops; >> struct tpm_chip_seqops ascii_log_seqops; >> - unsigned int flags; >> + unsigned long flags; > > > This doesn't seem to be necessary. > The bitop makros require an unsigned long, leaving it as unsigned int results in a compiler error: error: passing argument 2 of ‘test_bit’ from incompatible pointer type [-Werror=incompatible-pointer-types] > The rest looks good to me. I remember that last time I had tried to activate it some laptop didn't cooperate and we ended up reverting some code, but maybe your changes fixed all of that now. Though you may want to 'prepare for unforseen consequences' :-). > You may be right with your concerns and I will try to find some more hardware to test the patches. Thanks for the review(s). Regards, Lino