]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: sm750fb: propagate error codes from de_wait()
authorHungyu Lin <dennylin0707@gmail.com>
Mon, 27 Apr 2026 05:46:57 +0000 (05:46 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 May 2026 14:15:48 +0000 (16:15 +0200)
commit785ad91332236e968ce63444baa460be2ea99ef9
tree3ea4be335a6c7c37cac114a5fbadbcc75d4b97c7
parent2381baa4a9a0fe96007933084bc05fa4e40258f4
staging: sm750fb: propagate error codes from de_wait()

The sm750 acceleration functions currently return -1 when
de_wait() fails, discarding the original error code.

Since de_wait() now returns proper errno values, propagate
the error code instead of returning -1.

Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
Link: https://patch.msgid.link/20260427054657.758-3-dennylin0707@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750_accel.c