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

From: Dan Carpenter
Date: Tue May 16 2017 - 03:54:54 EST


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 a Sparse warning. I still have no idea
how it's getting triggered. But otherwise I have reviewed the patch and
it's a nice clean up.

regards,
dan carpenter