Re: [PATCH] drm/amdgpu/pptable: Fix UBSAN array-index-out-of-bounds

2024-05-30 Thread Alex Deucher
On Thu, May 30, 2024 at 6:31 AM Tasos Sahanidis wrote: > > On Mon, May 27, 2024 at 10:47:39AM -0400, Alex Deucher wrote: > > On Mon, May 27, 2024 at 5:42 AM Tasos Sahanidis wrote: > > > > > > On 2024-05-23 17:52, Alex Deucher wrote: > > > > On Thu, May 23, 2024 at 9:05 AM Tasos Sahanidis > > >

Re: [PATCH] drm/amdgpu/pptable: Fix UBSAN array-index-out-of-bounds

2024-05-30 Thread Tasos Sahanidis
On Mon, May 27, 2024 at 10:47:39AM -0400, Alex Deucher wrote: > On Mon, May 27, 2024 at 5:42 AM Tasos Sahanidis wrote: > > > > On 2024-05-23 17:52, Alex Deucher wrote: > > > On Thu, May 23, 2024 at 9:05 AM Tasos Sahanidis > > > wrote: > > >> > > >> Dyanmically sized arrays used [1] instead of []

Re: [PATCH] drm/amdgpu/pptable: Fix UBSAN array-index-out-of-bounds

2024-05-27 Thread Alex Deucher
On Mon, May 27, 2024 at 5:42 AM Tasos Sahanidis wrote: > > On 2024-05-23 17:52, Alex Deucher wrote: > > On Thu, May 23, 2024 at 9:05 AM Tasos Sahanidis wrote: > >> > >> Dyanmically sized arrays used [1] instead of []. Replacing the former > >> with the latter resolves multiple warnings observed o

Re: [PATCH] drm/amdgpu/pptable: Fix UBSAN array-index-out-of-bounds

2024-05-27 Thread Tasos Sahanidis
On 2024-05-23 17:52, Alex Deucher wrote: > On Thu, May 23, 2024 at 9:05 AM Tasos Sahanidis wrote: >> >> Dyanmically sized arrays used [1] instead of []. Replacing the former >> with the latter resolves multiple warnings observed on boot with a >> BONAIRE card. >> >> Signed-off-by: Tasos Sahanidis

Re: [PATCH] drm/amdgpu/pptable: Fix UBSAN array-index-out-of-bounds

2024-05-23 Thread Alex Deucher
On Thu, May 23, 2024 at 9:05 AM Tasos Sahanidis wrote: > > Dyanmically sized arrays used [1] instead of []. Replacing the former > with the latter resolves multiple warnings observed on boot with a > BONAIRE card. > > Signed-off-by: Tasos Sahanidis > --- > drivers/gpu/drm/amd/include/pptable.h |

[PATCH] drm/amdgpu/pptable: Fix UBSAN array-index-out-of-bounds

2024-05-23 Thread Tasos Sahanidis
Dyanmically sized arrays used [1] instead of []. Replacing the former with the latter resolves multiple warnings observed on boot with a BONAIRE card. Signed-off-by: Tasos Sahanidis --- drivers/gpu/drm/amd/include/pptable.h | 24 1 file changed, 12 insertions(+), 12 dele