Re: [RFC PATCH v2 1/6] serial: uartps: Do not initialize field to zero again

2018-06-28 Thread Michal Simek
On 28.6.2018 01:48, Greg Kroah-Hartman wrote: > On Wed, Jun 27, 2018 at 04:19:46PM +0200, Michal Simek wrote: >> On 27.6.2018 12:09, Greg Kroah-Hartman wrote: >>> On Tue, Jun 19, 2018 at 10:09:05AM +0200, Michal Simek wrote: On 6.6.2018 14:41, Michal Simek wrote: > Writing zero and NULLs t

Re: [RFC PATCH v2 1/6] serial: uartps: Do not initialize field to zero again

2018-06-27 Thread Greg Kroah-Hartman
On Wed, Jun 27, 2018 at 04:19:46PM +0200, Michal Simek wrote: > On 27.6.2018 12:09, Greg Kroah-Hartman wrote: > > On Tue, Jun 19, 2018 at 10:09:05AM +0200, Michal Simek wrote: > >> On 6.6.2018 14:41, Michal Simek wrote: > >>> Writing zero and NULLs to already initialized fields is not needed. > >>>

Re: [RFC PATCH v2 1/6] serial: uartps: Do not initialize field to zero again

2018-06-27 Thread Michal Simek
On 27.6.2018 12:09, Greg Kroah-Hartman wrote: > On Tue, Jun 19, 2018 at 10:09:05AM +0200, Michal Simek wrote: >> On 6.6.2018 14:41, Michal Simek wrote: >>> Writing zero and NULLs to already initialized fields is not needed. >>> Remove this additional writes. >>> >>> Signed-off-by: Michal Simek >>>

Re: [RFC PATCH v2 1/6] serial: uartps: Do not initialize field to zero again

2018-06-27 Thread Greg Kroah-Hartman
On Tue, Jun 19, 2018 at 10:09:05AM +0200, Michal Simek wrote: > On 6.6.2018 14:41, Michal Simek wrote: > > Writing zero and NULLs to already initialized fields is not needed. > > Remove this additional writes. > > > > Signed-off-by: Michal Simek > > --- > > > > Changes in v2: > > - new patch - i

Re: [RFC PATCH v2 1/6] serial: uartps: Do not initialize field to zero again

2018-06-19 Thread Michal Simek
On 6.6.2018 14:41, Michal Simek wrote: > Writing zero and NULLs to already initialized fields is not needed. > Remove this additional writes. > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - new patch - it can be sent separately too > > drivers/tty/serial/xilinx_uartps.c | 3 --- >

[RFC PATCH v2 1/6] serial: uartps: Do not initialize field to zero again

2018-06-06 Thread Michal Simek
Writing zero and NULLs to already initialized fields is not needed. Remove this additional writes. Signed-off-by: Michal Simek --- Changes in v2: - new patch - it can be sent separately too drivers/tty/serial/xilinx_uartps.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/tty/ser