Re: [char-misc-next v2 1/5] mei: set parent for char device
From: Greg Kroah-Hartman
Date: Mon Jun 30 2025 - 06:02:40 EST
On Mon, Jun 30, 2025 at 12:19:38PM +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.
No, that's not what cdev_set_parent() does.
Also, why not wrap your lines at 72 columns?
thanks,
greg k-h