Re: [PATCH] lockdep: avoid a clang warning

2019-03-07 Thread Bart Van Assche
On Thu, 2019-03-07 at 08:52 +0100, Arnd Bergmann wrote: > Clang warns about a tentative array definition without a length: > > kernel/locking/lockdep.c:845:12: error: tentative array definition assumed to > have one element [-Werror] > > There is no real reason to do this here, so just set the s

[PATCH] lockdep: avoid a clang warning

2019-03-06 Thread Arnd Bergmann
Clang warns about a tentative array definition without a length: kernel/locking/lockdep.c:845:12: error: tentative array definition assumed to have one element [-Werror] There is no real reason to do this here, so just set the same length as in the real definition later in the same file. It has