RE: [PATCH 5/5] drm/amdgpu: calculate actual size instead of hardcode size

2020-07-22 Thread Chen, Guchun
, Hawking ; Li, Dennis ; Yang, Stanley ; Zhou1, Tao ; Clements, John Subject: Re: [PATCH 5/5] drm/amdgpu: calculate actual size instead of hardcode size On 7/21/20 11:14 PM, Guchun Chen wrote: > Use sizeof to get actual size. > > Signed-off-by: Guchun Chen > --- > drivers/gpu

Re: [PATCH 5/5] drm/amdgpu: calculate actual size instead of hardcode size

2020-07-22 Thread Andrey Grodzovsky
On 7/21/20 11:14 PM, Guchun Chen wrote: Use sizeof to get actual size. Signed-off-by: Guchun Chen --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c b/drivers/gpu/drm/a