diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-11-24 14:35:45 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-11-25 09:58:49 +0300 |
commit | 0a4c9ffbd47669d1a0534dbbd45c2855531a6e7d (patch) | |
tree | 3a7815ffb11eef511adcf604c32dd32407b5bd00 /Documentation/DMA-API-HOWTO.txt | |
parent | 04ea7dcba47325d8d2256aaf0cbd21818f280d87 (diff) | |
download | linux-0a4c9ffbd47669d1a0534dbbd45c2855531a6e7d.tar.xz |
drm/hisilicon/hibmc: Checking for NULL instead of IS_ERR()
The drm_dev_alloc() function returns error pointers. It never returns
NULLs.
Fixes: 5e0df3a08f3d ("drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161124113545.GP17225@mwanda
Diffstat (limited to 'Documentation/DMA-API-HOWTO.txt')
0 files changed, 0 insertions, 0 deletions