Re: [PATCH 5.15] drm/amd/pm: Fix negative array index read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 03, 2024 at 03:05:34PM +0800, mingli.yu@xxxxxxxxxxxxxxxxx wrote:
> From: Jesse Zhang <jesse.zhang@xxxxxxx>
> 
> Avoid using the negative values
> for clk_idex as an index into an array pptable->DpmDescriptor.
> 
> V2: fix clk_index return check (Tim Huang)
> 
> Signed-off-by: Jesse Zhang <Jesse.Zhang@xxxxxxx>
> Reviewed-by: Tim Huang <Tim.Huang@xxxxxxx>
> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
> [Don't intruduce the change for navi10_emit_clk_levels which doesn't exist]
> Signed-off-by: Mingli Yu <mingli.yu@xxxxxxxxxxxxx>
> ---
>  .../gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c   | 21 ++++++++++++++-----
>  1 file changed, 16 insertions(+), 5 deletions(-)

What is the git commit id of this?




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux