patch "staging: vchiq: call unregister_chrdev_region() when driver" added to staging-linus
Subsystems (3)
This is a note to let you know that I've just added the patch titled
staging: vchiq: call unregister_chrdev_region() when driver
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
From d2cdb20507fe2079a146459f9718b45d78cbbe61 Mon Sep 17 00:00:00 2001
From: Marcelo Diop-Gonzalez <[email protected]>
Date: Tue, 3 Dec 2019 10:39:21 -0500
Subject: staging: vchiq: call unregister_chrdev_region() when driver
registration fails
This undoes the previous call to alloc_chrdev_region() on failure, and is probably what was meant originally given the label name.
--- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +1 -1
@@ -3309,7 +3309,7 @@ static int __init vchiq_driver_init(void)return 0 ; region_unregister: -platform_driver_unregister (&vchiq_driver); +unregister_chrdev_region (vchiq_devid,1 ); class_destroy:class_destroy (vchiq_class);
Signature · 1 line
2.24.0