Re: [PATCH v7] uio: Fix uio driver to refcount device

From: Greg Kroah-Hartman
Date: Thu Mar 19 2015 - 11:15:50 EST


On Thu, Mar 19, 2015 at 03:05:15PM +0000, Brian Russell wrote:
> Protect uio driver from its owner being unplugged while there are open fds.
> Embed struct device in struct uio_device, use refcounting on device, free uio_device on release.
> info struct passed in uio_register_device can be freed on unregister, so null out the field in
> uio_unregister_device and check accesses.

Minor nit, changelogs need to be linewrapped at 72 columns, if your
editor is sane, it should have warned you about this :)

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/