[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1603371258.git.sylphrenadin@gmail.com>
Date: Thu, 22 Oct 2020 19:07:50 +0530
From: Sumera Priyadarsini <sylphrenadin@...il.com>
To: dri-devel@...ts.freedesktop.org
Cc: outreachy-kernel@...glegroups.com, alexander.deucher@....com,
christian.koenig@....com, airlied@...ux.ie, daniel@...ll.ch,
melissa.srw@...il.com, linux-media@...r.kernel.org,
amd-gfx@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: [Outreachy kernel][PATCH 0/5] drm/amdgpu: Replace snprintf() with
sysfs_emit
Using snprintf() for show() methods holds the risk of buffer overrun
as snprintf() does not know the PAGE_SIZE maximum of the temporary
buffer used to output sysfs content.
This patchset is a series of Coccinelle cleanups across the staging
directory to convert snprintf with scnprintf in the relevant files.
Sumera Priyadarsini (5):
gpu: drm: amdgpu: Replace snprintf() with sysfs_emit()
gpu: drm: amdgpu: Replace snprintf() with sysfs_emit()
gpu: drm: amdgpu: Replace snprintf() with sysfs_emit()
gpu: drm: amdgpu: Replace snprintf() with sysfs_emit()
gpu: drm: amdgpu: Replace snprintf() with sysfs_emit()
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 8 ++++----
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | 4 ++--
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
--
2.25.1
Powered by blists - more mailing lists