]> git.baikalelectronics.ru Git - kernel.git/commit
rwsem: fix commas in initialisation
authorAlexey Dobriyan <adobriyan@gmail.com>
Sat, 11 Jul 2020 14:59:54 +0000 (17:59 +0300)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 16 Jul 2020 21:19:51 +0000 (23:19 +0200)
commit489fa193a6dea620255793e12d3efc7f664a8eac
tree4454e3925c95123d6ee516bc90768c0da516d65d
parentbd3638501373b209916efa8a14039867a7d750aa
rwsem: fix commas in initialisation

Leading comma prevents arbitrary reordering of initialisation clauses.
The whole point of C99 initialisation is to allow any such reordering.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200711145954.GA1178171@localhost.localdomain
include/linux/rwsem.h