commit | 18ec3c129bcad0a481ee7faf8ce5ad92d6537722 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Feb 22 09:34:04 2019 +0300 |
committer | Ben Skeggs <bskeggs@redhat.com> | Fri Mar 22 09:57:58 2019 +1000 |
tree | 1e2b38956f2e585e7564d3be5bdf045864f8ee7a | |
parent | 2219c9ee922d9a0548b44fb82342166d9d9fdbc9 [diff] |
drm/nouveau/dmem: Fix a NULL vs IS_ERR() check The hmm_devmem_add() function doesn't return NULL, it returns error pointers. Fixes: 5be73b690875 ("drm/nouveau/dmem: device memory helpers for SVM") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>