Re: [PATCH] parport: check exclusive access before register

From: Greg KH
Date: Fri Jun 12 2015 - 12:25:12 EST


On Fri, Jun 12, 2015 at 03:20:20PM +0530, Sudip Mukherjee wrote:
> As of now we were starting the registration process and after the device
> is registered we were checking if the device can be used by the
> parport. Now lets check it first so that we do not need to go through
> the registration process only to fail at the end.
> The original exclusive access check at the end is still there so that we
> do not get any surprises if two different process registers its device
> with same parport and with exclusive access at the same time.
>
> Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>
> ---
>
> Hi Greg,
> One doubt - if anyone sends any patch regarding parport, it will be
> addressed to me. so do i need to forward it to you?

Yes, please do so, I'll be glad to queue them up in my trees to go to
Linus.

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/