diff options
| author | Qiuxu Zhuo <[email protected]> | 2024-12-12 14:00:59 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2024-12-30 21:06:36 +0000 |
| commit | c46945c9cac8437a674edb9d8fbe71511fb4acee (patch) | |
| tree | 5f4c7fe617bd0c642c367afe55b4205b0763e126 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | x86/mce/threshold: Remove the redundant this_cpu_dec_return() (diff) | |
| download | kernel-c46945c9cac8437a674edb9d8fbe71511fb4acee.tar.gz kernel-c46945c9cac8437a674edb9d8fbe71511fb4acee.zip | |
x86/mce: Make four functions return bool
Make those functions whose callers only care about success or failure return
a boolean value for better readability. Also, update the call sites
accordingly as the polarities of all the return values have been flipped.
No functional changes.
Suggested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Qiuxu Zhuo <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Sohil Mehta <[email protected]>
Reviewed-by: Yazen Ghannam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
