mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robin Dong <hao.bigrat@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Robin Dong <sanbai@taobao.com>, Joel Becker <joel.becker@oracle.com>
Subject: [PATCH 2/3] ocfs2: change incorrect 'extern' keyword to 'static'
Date: Thu,  5 May 2011 16:51:57 +0800	[thread overview]
Message-ID: <1304585518-9665-2-git-send-email-sanbai@taobao.com> (raw)
In-Reply-To: <1304585518-9665-1-git-send-email-sanbai@taobao.com>

Change function param_set_dlmfs_capabilities from 'extern' to 'static' since
function param_get_dlmfs_capabilities is also 'static'.

Signed-off-by: Robin Dong <sanbai@taobao.com>
---
 fs/ocfs2/dlmfs/dlmfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/ocfs2/dlmfs/dlmfs.c b/fs/ocfs2/dlmfs/dlmfs.c
index b2df490..dd2675e 100644
--- a/fs/ocfs2/dlmfs/dlmfs.c
+++ b/fs/ocfs2/dlmfs/dlmfs.c
@@ -88,7 +88,7 @@ struct workqueue_struct *user_dlm_worker;
  *		  signifies a bast fired on the lock.
  */
 #define DLMFS_CAPABILITIES "bast stackglue"
-extern int param_set_dlmfs_capabilities(const char *val,
+static int param_set_dlmfs_capabilities(const char *val,
 					struct kernel_param *kp)
 {
 	printk(KERN_ERR "%s: readonly parameter\n", kp->name);
-- 
1.7.1


  reply	other threads:[~2011-05-05  8:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-05  8:51 [PATCH 1/3] ext4: remove incorrect 'extern' keyword for function-definition Robin Dong
2011-05-05  8:51 ` Robin Dong [this message]
2011-05-05  8:51 ` [PATCH 3/3] mm: change incorrect 'extern' keyword to 'static' Robin Dong
2011-05-05  9:27   ` Yong Zhang
2011-05-05  9:25 ` [PATCH 1/3] ext4: remove incorrect 'extern' keyword for function-definition Yong Zhang

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=1304585518-9665-2-git-send-email-sanbai@taobao.com \
    --to=hao.bigrat@gmail.com \
    --cc=joel.becker@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sanbai@taobao.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®