Re: [patch v2 1/6] tty: export tty_open_by_driver

2017-05-21 Thread Greg Kroah-Hartman
On Sat, May 20, 2017 at 11:09:02PM -0700, Christoph Hellwig wrote: > On Mon, May 15, 2017 at 06:45:32PM +0100, Okash Khawaja wrote: > > This exports tty_open_by_driver so that it can be called from other places > > inside the kernel. The checks for null file pointer are based on Alan Cox's > >

Re: [patch v2 1/6] tty: export tty_open_by_driver

2017-05-21 Thread Greg Kroah-Hartman
On Sat, May 20, 2017 at 11:09:02PM -0700, Christoph Hellwig wrote: > On Mon, May 15, 2017 at 06:45:32PM +0100, Okash Khawaja wrote: > > This exports tty_open_by_driver so that it can be called from other places > > inside the kernel. The checks for null file pointer are based on Alan Cox's > >

Re: [patch v2 1/6] tty: export tty_open_by_driver

2017-05-21 Thread Christoph Hellwig
On Mon, May 15, 2017 at 06:45:32PM +0100, Okash Khawaja wrote: > This exports tty_open_by_driver so that it can be called from other places > inside the kernel. The checks for null file pointer are based on Alan Cox's > patch here: >

Re: [patch v2 1/6] tty: export tty_open_by_driver

2017-05-21 Thread Christoph Hellwig
On Mon, May 15, 2017 at 06:45:32PM +0100, Okash Khawaja wrote: > This exports tty_open_by_driver so that it can be called from other places > inside the kernel. The checks for null file pointer are based on Alan Cox's > patch here: >

[patch v2 1/6] tty: export tty_open_by_driver

2017-05-15 Thread Okash Khawaja
This exports tty_open_by_driver so that it can be called from other places inside the kernel. The checks for null file pointer are based on Alan Cox's patch here: http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1215095.html. Description below is quoted from it: "[RFC] tty_port:

[patch v2 1/6] tty: export tty_open_by_driver

2017-05-15 Thread Okash Khawaja
This exports tty_open_by_driver so that it can be called from other places inside the kernel. The checks for null file pointer are based on Alan Cox's patch here: http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1215095.html. Description below is quoted from it: "[RFC] tty_port: