diff options
author | 2023-05-30 18:41:16 +0200 | |
---|---|---|
committer | 2023-06-02 17:35:22 -0400 | |
commit | 4ecd704a4c51fd95973fcc3a60444e0e24eb9439 (patch) | |
tree | bbdf0543228b63a2daa3d596074ab7bd964cabb3 /scripts/generate_rust_analyzer.py | |
parent | Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (diff) | |
download | wireguard-linux-4ecd704a4c51fd95973fcc3a60444e0e24eb9439.tar.xz wireguard-linux-4ecd704a4c51fd95973fcc3a60444e0e24eb9439.zip |
tpm, tpm_tis: correct tpm_tis_flags enumeration values
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.
Reported-by: Pavel Machek <pavel@denx.de>
Fixes: 858e8b792d06 ("tpm, tpm_tis: Avoid cache incoherency in test for interrupts")
Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Cc: stable@vger.kernel.org
Reviewed-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions