From: Anjali Menon <cse.anjalimenon@gmail.com>
To: oleg.drokin@intel.com
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
HPDD-discuss@ml01.01.org,
Anjali Menon <cse.anjalimenon@gmail.com>
Subject: [PATCH] staging: lustre: lustre: llite: Added const
Date: Sat, 3 Oct 2015 21:13:36 +0530 [thread overview]
Message-ID: <1443887016-9142-1-git-send-email-cse.anjalimenon@gmail.com> (raw)
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 <cse.anjalimenon@gmail.com>
---
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
next reply other threads:[~2015-10-03 15:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-03 15:43 Anjali Menon [this message]
2015-10-05 5:53 ` Sudip Mukherjee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1443887016-9142-1-git-send-email-cse.anjalimenon@gmail.com \
--to=cse.anjalimenon@gmail.com \
--cc=HPDD-discuss@ml01.01.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg.drokin@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®