All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers: staging: lustre: lustre: lov: lov_pool: Fixed a warning
@ 2016-02-09 23:58 Rakhi Sharma
  2016-02-10  6:14 ` [Outreachy kernel] " Sudip Mukherjee
  2016-02-10  7:23 ` Julia Lawall
  0 siblings, 2 replies; 6+ messages in thread
From: Rakhi Sharma @ 2016-02-09 23:58 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Julia.Lawall, daniel.baluta, gregkh, Rakhi Sharma

Fixed a checkpatch warning.
WARNING: struct file_operations should normally be const

Signed-off-by: Rakhi Sharma <rakhish1994@gmail.com>
---
 drivers/staging/lustre/lustre/lov/lov_pool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/lov/lov_pool.c b/drivers/staging/lustre/lustre/lov/lov_pool.c
index b43ce6c..bba37bf 100644
--- a/drivers/staging/lustre/lustre/lov/lov_pool.c
+++ b/drivers/staging/lustre/lustre/lov/lov_pool.c
@@ -288,7 +288,7 @@ static int pool_proc_open(struct inode *inode, struct file *file)
 	return rc;
 }
 
-static struct file_operations pool_proc_operations = {
+static const struct file_operations pool_proc_operations = {
 	.open	   = pool_proc_open,
 	.read	   = seq_read,
 	.llseek	 = seq_lseek,
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-10  7:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-09 23:58 [PATCH] drivers: staging: lustre: lustre: lov: lov_pool: Fixed a warning Rakhi Sharma
2016-02-10  6:14 ` [Outreachy kernel] " Sudip Mukherjee
2016-02-10  6:54   ` RAKHI SHARMA
2016-02-10  7:03     ` Julia Lawall
2016-02-10  7:37     ` Sudip Mukherjee
2016-02-10  7:23 ` Julia Lawall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.