]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: fix old style declaration warnings
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Jul 2017 11:17:26 +0000 (13:17 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 17 Jul 2017 12:54:58 +0000 (14:54 +0200)
commitdcad45f2e1ed4467d7397b504ed2f5f868577478
tree5a9725473d580b59e7b69d101ce89652ef2fe87c
parent9238ecfbaaeffcf7977c2776af9c57c0a4a878ed
libceph: fix old style declaration warnings

The new macros don't follow the usual style for declarations,
which we get a warning for with 'make W=1':

In file included from fs/ceph/mds_client.c:16:0:
include/linux/ceph/ceph_features.h:74:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration]

This moves the 'static' keyword to the front of the
declaration.

Fixes: 65229f525f76 ("libceph: new features macros")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/ceph_features.h