[PATCH] drm_crtc: add kmalloc NULL handling

2011-02-07 Thread Stanislav Fomichev
Exit from drm_mode_create_tv_properties and drm_mode_connector_update_edid_property with -ENOMEM if some of the internal allocations fails. This patch fixes only the mentioned routines but doesn't add handling of the returned values to the caller side. If this patch will be accepted, I'll also try

[PATCH] drm_crtc: add kmalloc NULL handling

2011-02-06 Thread Stanislav Fomichev
Exit from drm_mode_create_tv_properties and drm_mode_connector_update_edid_property with -ENOMEM if some of the internal allocations fails. This patch fixes only the mentioned routines but doesn't add handling of the returned values to the caller side. If this patch will be accepted, I'll also try