summaryrefslogtreecommitdiff
path: root/lib/klist.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-02-22 09:34:04 +0300
committerBen Skeggs <bskeggs@redhat.com>2019-03-22 09:57:58 +1000
commit18ec3c129bcad0a481ee7faf8ce5ad92d6537722 (patch)
tree1e2b38956f2e585e7564d3be5bdf045864f8ee7a /lib/klist.c
parent2219c9ee922d9a0548b44fb82342166d9d9fdbc9 (diff)
downloadlwn-18ec3c129bcad0a481ee7faf8ce5ad92d6537722.tar.gz
lwn-18ec3c129bcad0a481ee7faf8ce5ad92d6537722.zip
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>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions