Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1684225

Re: [PATCH] libceph: fix old style declaration warnings

From Ilya Dryomov <idryomov@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] libceph: fix old style declaration warnings
Date 2017-07-10 15:20 +0200
Message-ID <u1GLw-5vA-13@gated-at.bofh.it> (permalink)
References <u1ETo-4kq-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jul 10, 2017 at 1:17 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> 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: f179d3ba8cb9 ("libceph: new features macros")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Applied.

Thanks,

                Ilya

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] libceph: fix old style declaration warnings Arnd Bergmann <arnd@arndb.de> - 2017-07-10 13:20 +0200
  Re: [PATCH] libceph: fix old style declaration warnings Ilya Dryomov <idryomov@gmail.com> - 2017-07-10 15:20 +0200

csiph-web