diff options
author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2023-07-27 08:02:46 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-30 15:51:17 -0400 |
commit | 8254e05c8297e31e398911dffc3d7f37602d87b2 (patch) | |
tree | b475a7ef4d519aadef278f5cc966c271ee2ebfce /sound/ppc/pmac.h | |
parent | fe320639c129c7a46fe6885e9ca0a06201895cb6 (diff) | |
download | linux-stable-8254e05c8297e31e398911dffc3d7f37602d87b2.tar.gz linux-stable-8254e05c8297e31e398911dffc3d7f37602d87b2.tar.bz2 linux-stable-8254e05c8297e31e398911dffc3d7f37602d87b2.zip |
drm/amdgpu: Fix printk_ratelimit() with DRM_ERROR_RATELIMITED in 'amdgpu_cs_ioctl'
Replaced printk_ratelimit() with its DRM equivalent to avoid flooding of
dmesg logs & hence fixes the following:
WARNING: Prefer printk_ratelimited or pr_<level>_ratelimited to printk_ratelimit
+ if (printk_ratelimit())
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'sound/ppc/pmac.h')
0 files changed, 0 insertions, 0 deletions