Re: [PATCH] drm/imx: Fix error handling

2016-11-01 Thread Philipp Zabel
Hi Christophe, Am Montag, den 31.10.2016, 18:59 +0100 schrieb Christophe JAILLET: > 'drm_dev_alloc()' returns an error pointer in case of error, not NULL > So test it with IS_ERR. > > This behavior has been introduced recently in 0f2886057be3. For some > reason, this file has not been updated. >

Re: [PATCH] drm/imx: Fix error handling

2016-11-01 Thread Philipp Zabel
Hi Christophe, Am Montag, den 31.10.2016, 18:59 +0100 schrieb Christophe JAILLET: > 'drm_dev_alloc()' returns an error pointer in case of error, not NULL > So test it with IS_ERR. > > This behavior has been introduced recently in 0f2886057be3. For some > reason, this file has not been updated. >

[PATCH] drm/imx: Fix error handling

2016-10-31 Thread Christophe JAILLET
'drm_dev_alloc()' returns an error pointer in case of error, not NULL So test it with IS_ERR. This behavior has been introduced recently in 0f2886057be3. For some reason, this file has not been updated. Fixes: 0f2886057be3 ("drm: Don't swallow error codes in drm_dev_alloc()") Signed-off-by:

[PATCH] drm/imx: Fix error handling

2016-10-31 Thread Christophe JAILLET
'drm_dev_alloc()' returns an error pointer in case of error, not NULL So test it with IS_ERR. This behavior has been introduced recently in 0f2886057be3. For some reason, this file has not been updated. Fixes: 0f2886057be3 ("drm: Don't swallow error codes in drm_dev_alloc()") Signed-off-by: