]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: vchiq_arm: Register debugfs after cdev
authorStefan Wahren <wahrenst@gmx.net>
Sun, 9 Mar 2025 12:50:10 +0000 (13:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Mar 2025 14:11:20 +0000 (07:11 -0700)
commit63f4dbb196db60a8536ba3d1b835d597a83f6cbb
tree9ce15f3b334676b99bcbdf724c9514b9633f7acb
parent96622d58f50b8f364bb11d48f2d41e3348020b9e
staging: vchiq_arm: Register debugfs after cdev

The commit 2a4d15a4ae98 ("staging: vchiq: Refactor vchiq cdev code")
moved the debugfs directory creation before vchiq character device
registration. In case the latter fails, the debugfs directory won't
be cleaned up.

Fixes: 2a4d15a4ae98 ("staging: vchiq: Refactor vchiq cdev code")
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20250309125014.37166-2-wahrenst@gmx.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c