diff options
| author | Lino Sanfilippo <[email protected]> | 2023-05-30 16:41:16 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2023-06-02 21:35:22 +0000 |
| commit | 4ecd704a4c51fd95973fcc3a60444e0e24eb9439 (patch) | |
| tree | bbdf0543228b63a2daa3d596074ab7bd964cabb3 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kerne... (diff) | |
| download | kernel-4ecd704a4c51fd95973fcc3a60444e0e24eb9439.tar.gz kernel-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 <[email protected]>
Fixes: 858e8b792d06 ("tpm, tpm_tis: Avoid cache incoherency in test for interrupts")
Signed-off-by: Lino Sanfilippo <[email protected]>
Cc: [email protected]
Reviewed-by: Pavel Machek <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions
