Re: [PATCH] drm/amd/display: include linux/slab.h where needed

2019-12-10 Thread Alex Deucher
Applied. Thanks! Alex On Tue, Dec 10, 2019 at 2:59 PM Arnd Bergmann wrote: > > Calling kzalloc() and related functions requires the > linux/slab.h header to be included: > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_resource.c: In function > 'dcn21_ipp_create': >

[PATCH] drm/amd/display: include linux/slab.h where needed

2019-12-10 Thread Arnd Bergmann
Calling kzalloc() and related functions requires the linux/slab.h header to be included: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_resource.c: In function 'dcn21_ipp_create': drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_resource.c:679:3: error: implicit declaration of

Re: [PATCH] drm/amd/display: include linux/slab.h where needed

2019-12-10 Thread Arnd Bergmann
On Tue, Dec 10, 2019 at 9:30 PM Kazlauskas, Nicholas wrote: > > On 2019-12-10 2:59 p.m., Arnd Bergmann wrote: > > Calling kzalloc() and related functions requires the > > linux/slab.h header to be included: > > > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_resource.c: In > > function

Re: [PATCH] drm/amd/display: include linux/slab.h where needed

2019-12-10 Thread Kazlauskas, Nicholas
On 2019-12-10 2:59 p.m., Arnd Bergmann wrote: Calling kzalloc() and related functions requires the linux/slab.h header to be included: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_resource.c: In function 'dcn21_ipp_create':