Re: [PATCH 3/3] staging: dgnc: use tty_alloc_driver instead of kcalloc

2016-03-22 Thread DaeSeok Youn
2016-03-22 22:02 GMT+09:00 Greg KH : > On Tue, Mar 22, 2016 at 04:40:24PM +0900, DaeSeok Youn wrote: >> 2016-03-22 6:05 GMT+09:00 Greg KH : >> > On Mon, Mar 14, 2016 at 01:29:00PM +0900, Daeseok Youn wrote: >> >> the tty_alloc_driver() can

Re: [PATCH 3/3] staging: dgnc: use tty_alloc_driver instead of kcalloc

2016-03-22 Thread Greg KH
On Tue, Mar 22, 2016 at 04:40:24PM +0900, DaeSeok Youn wrote: > 2016-03-22 6:05 GMT+09:00 Greg KH : > > On Mon, Mar 14, 2016 at 01:29:00PM +0900, Daeseok Youn wrote: > >> the tty_alloc_driver() can allocate memory for ttys and termios. > >> And also it can release

Re: [PATCH 3/3] staging: dgnc: use tty_alloc_driver instead of kcalloc

2016-03-22 Thread DaeSeok Youn
2016-03-22 6:05 GMT+09:00 Greg KH : > On Mon, Mar 14, 2016 at 01:29:00PM +0900, Daeseok Youn wrote: >> the tty_alloc_driver() can allocate memory for ttys and termios. >> And also it can release allocated memory easly with using >> put_tty_driver(). >> >> Signed-off-by:

Re: [PATCH 3/3] staging: dgnc: use tty_alloc_driver instead of kcalloc

2016-03-21 Thread Greg KH
On Mon, Mar 14, 2016 at 01:29:00PM +0900, Daeseok Youn wrote: > the tty_alloc_driver() can allocate memory for ttys and termios. > And also it can release allocated memory easly with using > put_tty_driver(). > > Signed-off-by: Daeseok Youn But you broke the driver in

[PATCH 3/3] staging: dgnc: use tty_alloc_driver instead of kcalloc

2016-03-13 Thread Daeseok Youn
the tty_alloc_driver() can allocate memory for ttys and termios. And also it can release allocated memory easly with using put_tty_driver(). Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_tty.c | 86 +++-- 1 file changed, 31