From fcda2f5bd0e42848d856c87fcad1de7081bc5747 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 5 Mar 2014 17:37:05 +0100 Subject: [PATCH] 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 --- drivers/staging/lustre/lustre/lov/lov_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.2