Re: [PATCH v4] drivers/staging: refactor dgnc tty registration.

2017-05-16 Thread Dan Carpenter
On Mon, May 15, 2017 at 05:10:18PM +0300, Haim Daniel wrote: > -remove duplicate tty allocation code for serial and printer drivers. > -add missing tty c_ispeed and c_ospeed initialization to 9600. > -fix sparse warning: too long initializer-string for array of char. This is a GCC warning and not

[PATCH v4] drivers/staging: refactor dgnc tty registration.

2017-05-15 Thread Haim Daniel
-remove duplicate tty allocation code for serial and printer drivers. -add missing tty c_ispeed and c_ospeed initialization to 9600. -fix sparse warning: too long initializer-string for array of char. This patch was only unit tested due to lack of the actual hardware. Signed-off-by: Haim Daniel