Files
linux-stable-mirror/drivers/staging
Johan Hovold 73661546be staging: vme_user: fix root device leak on init failure
commit 32c91e8ee0 upstream.

Make sure to deregister and free the root device in case module
initialisation fails.

Fixes: 658bcdae9c ("vme: Adding Fake VME driver")
Cc: stable@vger.kernel.org	# 4.9
Cc: Martyn Welch <martyn@welchs.me.uk>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260424104910.2619349-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-05-14 15:29:21 +02:00
..