From: Tobias Klauser Date: Wed, 5 Mar 2014 16:37:05 +0000 (+0100) Subject: staging: lustre: storage class should be before const qualifier X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fcda2f5bd0e42848d856c87fcad1de7081bc5747;p=openwrt%2Fstaging%2Fblogic.git staging: lustre: storage class should be before const qualifier The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/lov/lov_object.c b/drivers/staging/lustre/lustre/lov/lov_object.c index fe0b70a097aa..7a85cafecf1b 100644 --- a/drivers/staging/lustre/lustre/lov/lov_object.c +++ b/drivers/staging/lustre/lustre/lov/lov_object.c @@ -512,7 +512,7 @@ static int lov_attr_get_raid0(const struct lu_env *env, struct cl_object *obj, return result; } -const static struct lov_layout_operations lov_dispatch[] = { +static const struct lov_layout_operations lov_dispatch[] = { [LLT_EMPTY] = { .llo_init = lov_init_empty, .llo_delete = lov_delete_empty,