Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756543AbaF3SMJ (ORCPT ); Mon, 30 Jun 2014 14:12:09 -0400 Received: from mailrelay012.isp.belgacom.be ([195.238.6.179]:61002 "EHLO mailrelay012.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754287AbaF3SMG (ORCPT ); Mon, 30 Jun 2014 14:12:06 -0400 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhgJAFqnsVNbtAo1/2dsb2JhbABagw2sQQUBAQEBAQEFAW4BmUaBEhd1hGAjgQIYN4guAxUBwTwNhlIXhWSGfIFDZB2ELQWYYIF+iz+CLIYSg0Q7gTE From: Fabian Frederick To: linux-kernel@vger.kernel.org Cc: Fabian Frederick , Greg Kroah-Hartman , Peng Tao , devel@driverdev.osuosl.org Subject: [PATCH 1/1] staging/lustre/obdclass: use static const for seq_operations Date: Mon, 30 Jun 2014 20:10:46 +0200 Message-Id: <1404151846-12941-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 1.8.4.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org lprocfs_stats_seq_sops is only used in static int lprocfs_stats_seq_open with seq_open as const struct seq_operations * Cc: Greg Kroah-Hartman Cc: Peng Tao Cc: devel@driverdev.osuosl.org Signed-off-by: Fabian Frederick --- drivers/staging/lustre/lustre/lmv/lproc_lmv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Fabian Frederick --- drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/obdclass/lprocfs_status.c b/drivers/staging/lustre/lustre/obdclass/lprocfs_status.c index 1432dd7..b0a12c4 100644 --- a/drivers/staging/lustre/lustre/obdclass/lprocfs_status.c +++ b/drivers/staging/lustre/lustre/obdclass/lprocfs_status.c @@ -1196,7 +1196,7 @@ out: return (rc < 0) ? rc : 0; } -struct seq_operations lprocfs_stats_seq_sops = { +static const struct seq_operations lprocfs_stats_seq_sops = { .start = lprocfs_stats_seq_start, .stop = lprocfs_stats_seq_stop, .next = lprocfs_stats_seq_next, -- 1.8.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/