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

2015-06-24 Thread Alex Deucher
On Fri, Jun 19, 2015 at 3:26 AM, Christian König wrote: > On 19.06.2015 06:05, Maninder Singh wrote: >> >> Use kzalloc for allocating one thing rather than >> kcalloc(1... >> >> The semantic patch that makes this change is as follows: >> >> // >> @@ >> @@ >> >> - kcalloc(1, >> + kzalloc( >>

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

2015-06-19 Thread Maninder Singh
Use kzalloc for allocating one thing rather than kcalloc(1... The semantic patch that makes this change is as follows: // @@ @@ - kcalloc(1, + kzalloc( ...) // Signed-off-by: Maninder Singh Reviewed-by: Vaneet Narang --- drivers/gpu/drm/radeon/radeon_ttm.c |2 +- 1 files chan

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

2015-06-19 Thread Christian König
On 19.06.2015 06:05, Maninder Singh wrote: > Use kzalloc for allocating one thing rather than > kcalloc(1... > > The semantic patch that makes this change is as follows: > > // > @@ > @@ > > - kcalloc(1, > + kzalloc( >...) > // > > Signed-off-by: Maninder Singh > Reviewed-by: Vaneet