Re: [PATCH v4 3/4] remoteproc: core: Fix cdev remove and rproc del

From: Greg KH
Date: Tue Jun 15 2021 - 15:07:06 EST


On Tue, Jun 15, 2021 at 12:03:43PM -0700, Siddharth Gupta wrote:
> The rproc_char_device_remove() call currently unmaps the cdev
> region instead of simply deleting the cdev that was added as a
> part of the rproc_char_device_add() call. This change fixes that
> behaviour, and also fixes the order in which device_del() and
> cdev_del() need to be called.
>
> Signed-off-by: Siddharth Gupta <sidgup@xxxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

Is this really needed for stable? What bug does this solve? ANd again,
fixes: ?