]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
driver core: faux: clean up init error handling
authorJohan Hovold <johan@kernel.org>
Fri, 24 Apr 2026 15:31:27 +0000 (17:31 +0200)
committerDanilo Krummrich <dakr@kernel.org>
Sat, 2 May 2026 15:50:50 +0000 (17:50 +0200)
commit1a262c768f5b5a1ebbdec8cfa588f75d3a825a8d
treed09a1c74144a336c1be960466efb9254066ca713
parent580a795105dae2ef1622df72a27a8fb0605e2f6b
driver core: faux: clean up init error handling

Clean up the faux bus init error handling by naming the labels after
what they do (rather than from where they are jumped to) and separating
the success path more clearly by returning explicit zero.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260424153127.2647405-3-johan@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/base/faux.c