diff options
| author | Jiapeng Chong <[email protected]> | 2024-12-12 01:47:17 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-12-18 17:16:30 +0000 |
| commit | 6f685a8134cb40b8b76401d2a6b1d62a001669be (patch) | |
| tree | c4a2978d94cc1f44ecbbe62013b2431f2aabb1cb /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | |
| parent | drm/amdgpu: simplify return statement in amdgpu_ras_eeprom_init (diff) | |
| download | kernel-6f685a8134cb40b8b76401d2a6b1d62a001669be.tar.gz kernel-6f685a8134cb40b8b76401d2a6b1d62a001669be.zip | |
drm/amd/display: use swap() in update_phy_id_mapping()
Use existing swap() function rather than duplicating its implementation.
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c:185:47-48: WARNING opportunity for swap().
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c:125:53-54: WARNING opportunity for swap().
Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=12335
Signed-off-by: Jiapeng Chong <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
0 files changed, 0 insertions, 0 deletions
