From: Ilya Dryomov Date: Wed, 19 Aug 2020 08:50:08 +0000 (+0200) Subject: libceph: add __maybe_unused to DEFINE_CEPH_FEATURE X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f062f025fc3a4fae3e6a50d13fb1fafb11900fa7;p=uclinux-h8%2Flinux.git libceph: add __maybe_unused to DEFINE_CEPH_FEATURE Avoid -Wunused-const-variable warnings for "make W=1". Reported-by: Leon Romanovsky Signed-off-by: Ilya Dryomov Reviewed-by: Leon Romanovsky --- diff --git a/include/linux/ceph/ceph_features.h b/include/linux/ceph/ceph_features.h index fcd84e8d88f4..999636d53cf2 100644 --- a/include/linux/ceph/ceph_features.h +++ b/include/linux/ceph/ceph_features.h @@ -11,14 +11,14 @@ #define CEPH_FEATURE_INCARNATION_2 (1ull<<57) // CEPH_FEATURE_SERVER_JEWEL #define DEFINE_CEPH_FEATURE(bit, incarnation, name) \ - static const uint64_t CEPH_FEATURE_##name = (1ULL<