Re: [PATCH] staging: lustre: fid: avoid false-positive uninitialized variable warning

2018-03-13 Thread NeilBrown
On Tue, Mar 13 2018, Arnd Bergmann wrote: > One of Neil's recent cleanups apparently has led the code to get > to a state where gcc tracks the 'seqnr' variable just enough to > see that it is sometimes initialized in seq_client_alloc_seq(), > but not enough that it can prove this initialization

[PATCH] staging: lustre: fid: avoid false-positive uninitialized variable warning

2018-03-13 Thread Arnd Bergmann
One of Neil's recent cleanups apparently has led the code to get to a state where gcc tracks the 'seqnr' variable just enough to see that it is sometimes initialized in seq_client_alloc_seq(), but not enough that it can prove this initialization to be reliable before the use of that variable: