On Tue, Sep 23, 2025 at 7:21 PM Jani Nikula wrote:
>
> On Tue, 23 Sep 2025, Rahul Kumar wrote:
> > Documentation/process/deprecated.rst recommends against the use of
> > kmalloc with dynamic size calculations due to the risk of overflow and
> > smaller allocation being
allocation size clearer and avoid potential overflow
issues.
Signed-off-by: Rahul Kumar
---
drivers/gpu/drm/tiny/repaper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/tiny/repaper.c b/drivers/gpu/drm/tiny/repaper.c
index 5c3b51eb0a97..4d439a2d973a 100644
--- a
Hi Liviu,
On Tue, Aug 12, 2025 at 4:42 PM Liviu Dudau wrote:
>
> On Tue, Aug 12, 2025 at 03:41:19PM +0530, Rahul Kumar wrote:
> > Replace all dev_err(), dev_warn(), dev_info() and DRM_ERROR/WARN/INFO()
> > calls in drivers/gpu/drm/arm/display/komeda/komeda_crtc.c with the
, amdgpu_amdkfd_gfx_v11.c and
amdgpu_amdkfd_gfx_v12.c to make the intended allocation size clearer
and avoid potential overflow issues.
Suggested-by: Felix Kuehling
Signed-off-by: Rahul Kumar
---
Changes since v1:
- Extend fix to amdgpu_amdkfd_gfx_v10_3.c, amdgpu_amdkfd_gfx_v11.c and
size clearer and avoid potential
overflow issues.
Signed-off-by: Rahul Kumar
---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c
b/drivers/gpu/drm/amd/amdgpu
Thanks for the review and feedback, Liviu.
I will follow this for my future patches.
Regards,
Rahul
On Tue, Aug 12, 2025 at 5:50 PM Rahul Kumar wrote:
>
> Thanks for the review and feedback, Liviu.
> I will follow this for my future patches.
>
> Regards,
> Rahul
>
> O
Thanks for the review and feedback, Liviu.
I will follow this for my future patches.
Regards,
Rahul
On Tue, Aug 12, 2025 at 4:42 PM Liviu Dudau wrote:
> On Tue, Aug 12, 2025 at 03:41:19PM +0530, Rahul Kumar wrote:
> > Replace all dev_err(), dev_warn(), dev_info() and DRM_ERROR/
meter".
Signed-off-by: Rahul Kumar
---
.../gpu/drm/arm/display/komeda/komeda_crtc.c | 27 +++
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
b/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
index 2ad33559a33a..e4
meter".
Signed-off-by: Rahul Kumar
---
.../gpu/drm/arm/display/komeda/komeda_crtc.c | 37 +++
1 file changed, 21 insertions(+), 16 deletions(-)
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
b/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
index 2ad33559a33a..b5
`, and the warning is no longer present.
Signed-off-by: Rahul Kumar
---
drivers/gpu/drm/amd/include/amd_shared.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h
b/drivers/gpu/drm/amd/include/amd_shared.h
index 4c95b885d1d0
10 matches
Mail list logo