Re: [PATCH] drm/amdgpu: Fix realloc of ptr

2022-02-27 Thread Tom Rix
On 2/26/22 2:21 PM, David Laight wrote: From: t...@redhat.com Sent: 26 February 2022 15:59 From: Tom Rix Clang static analysis reports this error amdgpu_debugfs.c:1690:9: warning: 1st function call argument is an uninitialized value tmp = krealloc_array(tmp, i + 1, ^~

RE: [PATCH] drm/amdgpu: Fix realloc of ptr

2022-02-26 Thread David Laight
From: t...@redhat.com > Sent: 26 February 2022 15:59 > > From: Tom Rix > > Clang static analysis reports this error > amdgpu_debugfs.c:1690:9: warning: 1st function call > argument is an uninitialized value > tmp = krealloc_array(tmp, i + 1, > ^~~ > > realloc