drm: correct comments
authorLiu Zixian <liuzixian4@huawei.com>
Mon, 18 Jul 2022 01:53:57 +0000 (09:53 +0800)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 21 Jul 2022 10:16:10 +0000 (12:16 +0200)
commit2b8428a10fd3763819eabf1acef6b5b2c7875520
tree7382957826a673ee6d37ae576c3f086c72160365
parentac991b874b098ecde2c5eb81da48d52b6b22851b
drm: correct comments

On failure, these functions return error pointer, not NULL.

Signed-off-by: Liu Zixian <liuzixian4@huawei.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220718015357.1722-1-liuzixian4@huawei.com
drivers/gpu/drm/drm_gem_shmem_helper.c
include/drm/drm_gem_shmem_helper.h