Re: [PATCH] tpm, tpm_tis: correct tpm_tis_flags enumeration values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> From: Lino Sanfilippo <l.sanfilippo@xxxxxxxxxx>
> 
> With commit 858e8b792d06 ("tpm, tpm_tis: Avoid cache incoherency in test
> for interrupts") bit accessor functions are used to access flags in
> tpm_tis_data->flags.
> 
> However these functions expect bit numbers, while the flags are defined as
> bit masks in enum tpm_tis_flag.
> 
> Fix this inconsistency by using numbers instead of masks also for the flags
> in the enum.
> 

Reviewed-by: Pavel Machek <pavel@xxxxxxx>

Thank you!

Best regards,
									Pavel
-- 
DENX Software Engineering GmbH,        Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux