[PATCH] drm/ttm: Fix a few sparse warnings

2014-07-21 Thread Thierry Reding
From: Thierry Reding The final parameter to ttm_bo_reserve() is a pointer, therefore callers should use NULL instead of 0. Fixes a bunch of sparse warnings of this type: warning: Using plain integer as NULL pointer Signed-off-by: Thierry Reding --- drivers/gpu/drm/ast/ast_drv.h

[PATCH] drm/ttm: Fix a few sparse warnings

2014-07-21 Thread Alex Deucher
On Mon, Jul 21, 2014 at 7:15 AM, Thierry Reding wrote: > From: Thierry Reding > > The final parameter to ttm_bo_reserve() is a pointer, therefore callers > should use NULL instead of 0. > > Fixes a bunch of sparse warnings of this type: > > warning: Using plain integer as NULL pointer > >