aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c
diff options
context:
space:
mode:
authorAntonio Quartulli <[email protected]>2025-07-21 20:38:21 +0000
committerChristian Brauner <[email protected]>2025-07-25 08:20:36 +0000
commit672820a070ea5e6ae114f6109726a4e18313a527 (patch)
tree5b365b70c109947fbd6c5886bbade61a5463e898 /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c
parentMerge patch series "ovl: narrow regions protected by i_rw_sem" (diff)
downloadkernel-672820a070ea5e6ae114f6109726a4e18313a527.tar.gz
kernel-672820a070ea5e6ae114f6109726a4e18313a527.zip
ovl: properly print correct variable
In case of ovl_lookup_temp() failure, we currently print `err` which is actually not initialized at all. Instead, properly print PTR_ERR(whiteout) which is where the actual error really is. Address-Coverity-ID: 1647983 ("Uninitialized variables (UNINIT)") Fixes: 8afa0a7367138 ("ovl: narrow locking in ovl_whiteout()") Signed-off-by: Antonio Quartulli <[email protected]> Link: https://lore.kernel.org/[email protected] Reviewed-by: NeilBrown <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c')
0 files changed, 0 insertions, 0 deletions