From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752258AbbJCPok (ORCPT ); Sat, 3 Oct 2015 11:44:40 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:34312 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752019AbbJCPoj (ORCPT ); Sat, 3 Oct 2015 11:44:39 -0400 From: Anjali Menon To: oleg.drokin@intel.com Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, HPDD-discuss@ml01.01.org, Anjali Menon Subject: [PATCH] staging: lustre: lustre: llite: Added const Date: Sat, 3 Oct 2015 21:13:36 +0530 Message-Id: <1443887016-9142-1-git-send-email-cse.anjalimenon@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added const to the struct statement which fixed the coding style warning detected by chekpatch.pl WARNING: struct seq_operations should normally be const Signed-off-by: Anjali Menon --- drivers/staging/lustre/lustre/llite/vvp_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/llite/vvp_dev.c b/drivers/staging/lustre/lustre/llite/vvp_dev.c index fde41d7..742be5a 100644 --- a/drivers/staging/lustre/lustre/llite/vvp_dev.c +++ b/drivers/staging/lustre/lustre/llite/vvp_dev.c @@ -517,7 +517,7 @@ static void vvp_pgcache_stop(struct seq_file *f, void *v) /* Nothing to do */ } -static struct seq_operations vvp_pgcache_ops = { +static const struct seq_operations vvp_pgcache_ops = { .start = vvp_pgcache_start, .next = vvp_pgcache_next, .stop = vvp_pgcache_stop, -- 1.9.1