[PATCH] drm/radeon: Remove redundant NULL check before kfree

2013-02-25 Thread Syam Sidhardhan
kfree on NULL pointer is a no-op. Signed-off-by: Syam Sidhardhan --- drivers/gpu/drm/radeon/radeon_connectors.c |6 ++ drivers/gpu/drm/radeon/radeon_pm.c |3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b

[PATCH] drm/i915: Fix missing variable initilization

2013-02-25 Thread Syam Sidhardhan
Need to initialize the variable wait to false. Signed-off-by: Syam Sidhardhan --- drivers/gpu/drm/i915/intel_ddi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index fc95ef0..5d0a687 100644 --- a

[PATCH] gma500: medfield: Fix possible NULL pointer dereference

2013-02-25 Thread Syam Sidhardhan
The use of pointer sender should be after the NULL check. Signed-off-by: Syam Sidhardhan --- drivers/gpu/drm/gma500/mdfld_dsi_output.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_output.c b/drivers/gpu/drm/gma500

[PATCH] drm/radeon: Remove redundant NULL check before kfree

2013-02-25 Thread Syam Sidhardhan
kfree on NULL pointer is a no-op. Signed-off-by: Syam Sidhardhan --- drivers/gpu/drm/radeon/radeon_connectors.c |6 ++ drivers/gpu/drm/radeon/radeon_pm.c |3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b

[PATCH] drm/i915: Fix missing variable initilization

2013-02-25 Thread Syam Sidhardhan
Need to initialize the variable wait to false. Signed-off-by: Syam Sidhardhan --- drivers/gpu/drm/i915/intel_ddi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index fc95ef0..5d0a687 100644 --- a

[PATCH] gma500: medfield: Fix possible NULL pointer dereference

2013-02-25 Thread Syam Sidhardhan
The use of pointer sender should be after the NULL check. Signed-off-by: Syam Sidhardhan --- drivers/gpu/drm/gma500/mdfld_dsi_output.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_output.c b/drivers/gpu/drm/gma500