[Intel-gfx] [PATCH 1/1 linux-next] drm/i915: use ERR_CAST instead of ERR_PTR/PTR_ERR

2015-05-04 Thread Daniel Vetter
On Mon, Apr 27, 2015 at 10:43:19AM +0300, Jani Nikula wrote: > On Sat, 25 Apr 2015, Fabian Frederick wrote: > > Inspired by scripts/coccinelle/api/err_cast.cocci > > > > Signed-off-by: Fabian Frederick > > Reviewed-by: Jani Nikula Queued for -next, thanks for the patch. -Daniel -- Daniel Vett

[PATCH 1/1 linux-next] drm/i915: use ERR_CAST instead of ERR_PTR/PTR_ERR

2015-04-27 Thread Jani Nikula
On Sat, 25 Apr 2015, Fabian Frederick wrote: > Inspired by scripts/coccinelle/api/err_cast.cocci > > Signed-off-by: Fabian Frederick Reviewed-by: Jani Nikula > --- > drivers/gpu/drm/i915/intel_drv.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915

[PATCH 1/1 linux-next] drm/i915: use ERR_CAST instead of ERR_PTR/PTR_ERR

2015-04-25 Thread Fabian Frederick
Inspired by scripts/coccinelle/api/err_cast.cocci Signed-off-by: Fabian Frederick --- drivers/gpu/drm/i915/intel_drv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 897f17d..d52f267 100644 --- a/drive