[PATCH] drm/i915: Fix memory leak in intel_dsi_init() error path

2014-06-13 Thread Christoph Jaeger
intel_dsi_init() bails out without freeing the memory 'intel_dsi' and 'intel_connector' point to. Simply bail out before allocating memory. Picked up by Coverity - CID 1222750. Signed-off-by: Christoph Jaeger --- drivers/gpu/drm/i915/intel_dsi.c | 14 +++--

[PATCH] drm/radeon: fix VCE fence command

2014-04-15 Thread Christoph Jaeger
Due to a type mismatch that causes an implicit type conversion, the upper 32 bits of the GPU address have been zeroed out when adding to the command buffer. Picked up by Coverity - CID 1198624. Signed-off-by: Christoph Jaeger --- drivers/gpu/drm/radeon/radeon_vce.c | 2 +- 1 file changed, 1

[PATCH] drm/i915: drop __FUNCTION__ as argument to DRM_DEBUG_KMS

2014-03-28 Thread Christoph Jaeger
DRM_DEBUG_KMS includes printing the function name. Signed-off-by: Christoph Jaeger --- drivers/gpu/drm/i915/dvo_ns2501.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/i915/dvo_ns2501.c b/drivers/gpu/drm/i915/dvo_ns2501.c index

[PATCH] drm/i915: use __func__ instead of __FUNCTION__

2014-03-28 Thread Christoph Jaeger
Thanks for review. This patch obsoletes patch "drm/i915: use __func__ instead of __FUNCTION__". Best, Chris

[PATCH] drm/i915: use __func__ instead of __FUNCTION__

2014-03-28 Thread Christoph Jaeger
__FUNCTION__ is gcc specific; use __func__ instead. Signed-off-by: Christoph Jaeger --- drivers/gpu/drm/i915/dvo_ns2501.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/i915/dvo_ns2501.c b/drivers/gpu/drm/i915/dvo_ns2501.c index 954acb2