Re: [PATCH net] mptcp: token: fix unititialized variable

2020-11-03 Thread Jakub Kicinski
On Mon, 02 Nov 2020 11:48:25 +0100 Paolo Abeni wrote: > On Mon, 2020-11-02 at 10:09 +0100, Davide Caratti wrote: > > gcc complains about use of uninitialized 'num'. Fix it by doing the first > > assignment of 'num' when the variable is declared. > > > > Fixes: 96d890daad05 ("mptcp: add msk interat

Re: [PATCH net] mptcp: token: fix unititialized variable

2020-11-02 Thread Paolo Abeni
On Mon, 2020-11-02 at 10:09 +0100, Davide Caratti wrote: > gcc complains about use of uninitialized 'num'. Fix it by doing the first > assignment of 'num' when the variable is declared. > > Fixes: 96d890daad05 ("mptcp: add msk interations helper") > Signed-off-by: Davide Caratti > --- > net/mptc

[PATCH net] mptcp: token: fix unititialized variable

2020-11-02 Thread Davide Caratti
gcc complains about use of uninitialized 'num'. Fix it by doing the first assignment of 'num' when the variable is declared. Fixes: 96d890daad05 ("mptcp: add msk interations helper") Signed-off-by: Davide Caratti --- net/mptcp/token.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -