Re: [PATCH] rxrpc: remove duplicate 'error' variable

2016-09-06 Thread Arnd Bergmann
On Tuesday, September 6, 2016 2:34:02 PM CEST David Howells wrote: > Arnd Bergmann wrote: > > > The rxrpc_process_call function has debug code to print a failure code, > > but instead of printing the code from the rxrpc_call structure, it > > prints an uninitialized variable: > > > > net/rxrpc/c

Re: [PATCH] rxrpc: remove duplicate 'error' variable

2016-09-06 Thread David Howells
Arnd Bergmann wrote: > The rxrpc_process_call function has debug code to print a failure code, > but instead of printing the code from the rxrpc_call structure, it > prints an uninitialized variable: > > net/rxrpc/call_event.c: In function 'rxrpc_process_call': > net/rxrpc/call_event.c:879:58: e

[PATCH] rxrpc: remove duplicate 'error' variable

2016-09-06 Thread Arnd Bergmann
The rxrpc_process_call function has debug code to print a failure code, but instead of printing the code from the rxrpc_call structure, it prints an uninitialized variable: net/rxrpc/call_event.c: In function 'rxrpc_process_call': net/rxrpc/call_event.c:879:58: error: 'error' may be used uninitial