[PATCH 1/1] gpu/drm: use kzalloc for allocating one thing

Daniel Vetter daniel at ffwll.ch
Fri Jun 26 00:37:19 PDT 2015


On Fri, Jun 26, 2015 at 09:34:43AM +0200, Daniel Vetter wrote:
> On Fri, Jun 26, 2015 at 11:54:10AM +0530, Maninder Singh wrote:
> > Use kzalloc rather than kcalloc(1.. for allocating
> > one thing.
> > 
> > Signed-off-by: Maninder Singh <maninder1.s at samsung.com>
> > Reviewed-by: Vaneet Narang <v.narang at samsung.com>
> 
> Applied to drm-misc, thanks.

And dropped again since I didn't realize this is for amdgpu and not core
drm.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list