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)
commita9232dc5607dbada801f2fe83ea307cda762969a
tree4454e3925c95123d6ee516bc90768c0da516d65d
parent482cbb6cc33dca60091048631cd0a8dde72c3da7
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