[PATCH] staging: vchiq: call unregister_chrdev_region() when driver registration fails

Dan Carpenter dan.carpenter at oracle.com
Tue Dec 3 17:48:45 UTC 2019


On Tue, Dec 03, 2019 at 10:39:21AM -0500, Marcelo Diop-Gonzalez wrote:
> This undoes the previous call to alloc_chrdev_region() on failure,
> and is probably what was meant originally given the label name.
> 
> Signed-off-by: Marcelo Diop-Gonzalez <marcgonzalez at google.com>

Fixes: 187ac53e590c ("staging: vchiq_arm: rework probe and init functions")
Reviewed-by: Dan Carpenter <dan.carpenter at oracle.com>

Thanks!

regards,
dan carpenter



More information about the devel mailing list