[PATCH] drm: correctly check failed allocation

2015-10-21 Thread Daniel Vetter
On Mon, Oct 19, 2015 at 04:33:30PM +, Insu Yun wrote: > drm_property_create_range can be failed in memory pressure > Therefore, check return value and handle an error > > Signed-off-by: Insu Yun There's also other drm_property_create_* functions, and we miss error handling for a bunch more o

[PATCH] drm: correctly check failed allocation

2015-10-19 Thread Insu Yun
drm_property_create_range can be failed in memory pressure Therefore, check return value and handle an error Signed-off-by: Insu Yun --- drivers/gpu/drm/drm_crtc.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm