mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michele Curti <michele.curti@gmail.com>
To: davem@davemloft.net
Cc: linux-kernel@vger.kernel.org, Michele Curti <michele.curti@gmail.com>
Subject: [PATCH] kernel/jump_label.c: declare jump_label_module_nb as static
Date: Wed, 15 Oct 2014 10:30:01 +0200	[thread overview]
Message-ID: <1413361801-17003-1-git-send-email-michele.curti@gmail.com> (raw)

The structure jump_label_module_nb is used in jump_label.c only,
so declare it as static

Signed-off-by: Michele Curti <michele.curti@gmail.com>
---
 kernel/jump_label.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/jump_label.c b/kernel/jump_label.c
index 9019f15..d7ac148 100644
--- a/kernel/jump_label.c
+++ b/kernel/jump_label.c
@@ -399,7 +399,7 @@ jump_label_module_notify(struct notifier_block *self, unsigned long val,
 	return notifier_from_errno(ret);
 }
 
-struct notifier_block jump_label_module_nb = {
+static struct notifier_block jump_label_module_nb = {
 	.notifier_call = jump_label_module_notify,
 	.priority = 1, /* higher than tracepoints */
 };
-- 
2.1.2

Regards,
Michele


                 reply	other threads:[~2014-10-15  8:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1413361801-17003-1-git-send-email-michele.curti@gmail.com \
    --to=michele.curti@gmail.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    /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®