]> Gentwo Git Trees - linux/.git/commit
drm/nouveau: Replace redundant return value judgment with PTR_ERR_OR_ZERO()
authorLiao Yuanhong <liaoyuanhong@vivo.com>
Fri, 15 Aug 2025 13:36:43 +0000 (21:36 +0800)
committerLyude Paul <lyude@redhat.com>
Fri, 29 Aug 2025 21:10:13 +0000 (17:10 -0400)
commitf3e82936857b3bd77b824ecd2fa7839dd99ec0c6
tree80acf99fbf57e6755f6355098ce6ccd4498d6897
parent24de3daf6179bce3710527b8292d7ee6f1b56393
drm/nouveau: Replace redundant return value judgment with PTR_ERR_OR_ZERO()

Replace redundant return value judgment with PTR_ERR_OR_ZERO() to
enhance code readability.

Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://lore.kernel.org/r/20250815133643.418089-1-liaoyuanhong@vivo.com
drivers/gpu/drm/nouveau/nouveau_platform.c