From: Robin Dong <hao.bigrat@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Robin Dong <sanbai@taobao.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH 3/3] mm: change incorrect 'extern' keyword to 'static'
Date: Thu, 5 May 2011 16:51:58 +0800 [thread overview]
Message-ID: <1304585518-9665-3-git-send-email-sanbai@taobao.com> (raw)
In-Reply-To: <1304585518-9665-1-git-send-email-sanbai@taobao.com>
Change function memblock_memory_can_coalesce from 'extern' to 'static' to
match the memblock_* series function.
Signed-off-by: Robin Dong <sanbai@taobao.com>
---
mm/memblock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/memblock.c b/mm/memblock.c
index 400dc62..9570c43 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -292,7 +292,7 @@ static int __init_memblock memblock_double_array(struct memblock_type *type)
return 0;
}
-extern int __init_memblock __weak memblock_memory_can_coalesce(phys_addr_t addr1, phys_addr_t size1,
+static int __init_memblock __weak memblock_memory_can_coalesce(phys_addr_t addr1, phys_addr_t size1,
phys_addr_t addr2, phys_addr_t size2)
{
return 1;
--
1.7.1
next prev parent 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 ` [PATCH 2/3] ocfs2: change incorrect 'extern' keyword to 'static' Robin Dong
2011-05-05 8:51 ` Robin Dong [this message]
2011-05-05 9:27 ` [PATCH 3/3] mm: " 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-3-git-send-email-sanbai@taobao.com \
--to=hao.bigrat@gmail.com \
--cc=akpm@linux-foundation.org \
--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®