commit | e30ca4bcf0d9ad2c6f5716d6098b935f0d584c76 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue May 08 12:26:50 2018 +0300 |
committer | Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> | Tue May 08 14:09:40 2018 +0300 |
tree | aad97bd186c6938581e56d01e323b9649ebfc8eb | |
parent | 28eff78618c67277ffe3a6eb4557ad918fd09fe5 [diff] |
drm/xen-front: checking for NULL instead of IS_ERR drm_dev_alloc() returns error pointers, it never returns NULL. Fixes: c575b7eeb89f ("drm/xen-front: Add support for Xen PV display frontend") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180508092650.GA661@mwanda