Re: [PATCH] serial: core: stop passing NULL in uart_resume_port

From: Andy Shevchenko
Date: Thu Jul 26 2018 - 10:04:49 EST


On Thu, Jul 26, 2018 at 12:36 PM, Chen Hu <hu1.chen@xxxxxxxxx> wrote:
> Is it better to modify the DesignWare 8250 driver directly? Or do you think is this really an issue?

I have checked all of the users of do_termios in 8250 and only DW
bails out on old == NULL.

So, send a patch against 8250_dw with detailed explanation why it's
wrong (use case, examples of wrong output, etc) and how you fix it.
Describe any potential side effects (b/c it's a new behaviour).


--
With Best Regards,
Andy Shevchenko