Re: [PATCH] Documentation/rs485: Fix missing zero init on sample code

2017-11-07 Thread Ricardo Ribalda Delgado
Hi Jiri On Tue, Nov 7, 2017 at 2:28 PM, Jiri Slaby wrote: > On 11/06/2017, 11:51 AM, Ricardo Ribalda Delgado wrote: >> The sample code does not initialize to zero a local variable and then it >> uses the uninitialized code. >> >> Fix in case someone copy/paste the sample code. >> >> Signed-off-by

Re: [PATCH] Documentation/rs485: Fix missing zero init on sample code

2017-11-07 Thread Jiri Slaby
On 11/06/2017, 11:51 AM, Ricardo Ribalda Delgado wrote: > The sample code does not initialize to zero a local variable and then it > uses the uninitialized code. > > Fix in case someone copy/paste the sample code. > > Signed-off-by: Ricardo Ribalda Delgado > --- > Documentation/serial/serial-rs

[PATCH] Documentation/rs485: Fix missing zero init on sample code

2017-11-06 Thread Ricardo Ribalda Delgado
The sample code does not initialize to zero a local variable and then it uses the uninitialized code. Fix in case someone copy/paste the sample code. Signed-off-by: Ricardo Ribalda Delgado --- Documentation/serial/serial-rs485.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi