Re: [char-misc-next v3 1/5] mei: set parent for char device
From: Greg Kroah-Hartman
Date: Wed Jul 16 2025 - 05:47:19 EST
On Wed, Jul 09, 2025 at 06:13:40PM +0300, Alexander Usyskin wrote:
> Connect char device to parent device to avoid
> parent device unload while char device is
> still held open by user-space.
Again, this changelog text is not right. The parent pointer has nothing
to do with "unloading" anything. It has everything to do with placing
the device in the proper place in sysfs. So please show a before/after
location of what happens when this patch is applied to make it more
obvious what is happening here.
thanks,
greg k-h