diff options
author | Luben Tuikov <luben.tuikov@amd.com> | 2022-12-12 12:04:42 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-12-14 16:48:00 -0500 |
commit | 28afcb0ad54c858d0f426b340e88e0277a375597 (patch) | |
tree | 068bd3ef6bff4ada349dc3c350f264e251c6a4f1 /drivers/reset | |
parent | e44a0fe630c58b0a87d8281f5c1077a3479e5fce (diff) | |
download | linux-28afcb0ad54c858d0f426b340e88e0277a375597.tar.bz2 |
drm/amdgpu: Check if fru_addr is not NULL (v2)
Always check if fru_addr is not NULL. This commit also fixes a "smatch"
warning.
v2: Add a Fixes tag.
Cc: Alex Deucher <Alexander.Deucher@amd.com>
Cc: Dan Carpenter <error27@gmail.com>
Cc: kernel test robot <lkp@intel.com>
Cc: AMD Graphics <amd-gfx@lists.freedesktop.org>
Fixes: afbe5d1e4bd7c7 ("drm/amdgpu: Bug-fix: Reading I2C FRU data on newer ASICs")
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions