Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx> On Wed, Jul 26, 2023 at 11:15 AM Srinivasan Shanmugam <srinivasan.shanmugam@xxxxxxx> wrote: > > Fixes the below: > > WARNING: sizeof *numa_info should be sizeof(*numa_info) > > Cc: Christian König <christian.koenig@xxxxxxx> > Cc: Alex Deucher <alexander.deucher@xxxxxxx> > Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@xxxxxxx> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c > index 385c6acb5728..a5a2b06c6588 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c > @@ -868,7 +868,7 @@ static struct amdgpu_numa_info *amdgpu_acpi_get_numa_info(uint32_t pxm) > if (!numa_info) { > struct sysinfo info; > > - numa_info = kzalloc(sizeof *numa_info, GFP_KERNEL); > + numa_info = kzalloc(sizeof(*numa_info), GFP_KERNEL); > if (!numa_info) > return NULL; > > -- > 2.25.1 >