Linux wireless drivers development
 help / color / mirror / Atom feed
From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
	Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Subject: [PATCH 1/3] rfkill: add missing static
Date: Thu, 21 May 2009 00:04:17 -0300	[thread overview]
Message-ID: <1242875059-9627-2-git-send-email-hmh@hmh.eng.br> (raw)
In-Reply-To: <1242875059-9627-1-git-send-email-hmh@hmh.eng.br>

sparse says:
  CHECK   net/rfkill/core.c
net/rfkill/core.c:430:6: warning: symbol '__rfkill_set_sw_state' was not declared. Should it be static?

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
---
 net/rfkill/core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/rfkill/core.c b/net/rfkill/core.c
index 6991a41..9fd72ea 100644
--- a/net/rfkill/core.c
+++ b/net/rfkill/core.c
@@ -427,7 +427,7 @@ bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked)
 }
 EXPORT_SYMBOL(rfkill_set_hw_state);
 
-void __rfkill_set_sw_state(struct rfkill *rfkill, bool blocked)
+static void __rfkill_set_sw_state(struct rfkill *rfkill, bool blocked)
 {
 	u32 bit = RFKILL_BLOCK_SW;
 
-- 
1.6.3.1


  reply	other threads:[~2009-05-21  3:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21  3:04 rfkill v9: fixes and thinkpad-acpi conversion Henrique de Moraes Holschuh
2009-05-21  3:04 ` Henrique de Moraes Holschuh [this message]
2009-05-21  3:04 ` [PATCH 2/3] rfkill: fix input event handling in rfkill conversion Henrique de Moraes Holschuh
2009-05-21  3:04 ` [PATCH 3/3] thinkpad-acpi: convert to new rfkill API Henrique de Moraes Holschuh
2009-05-21 10:52 ` rfkill v9: fixes and thinkpad-acpi conversion Johannes Berg
2009-05-21 19:57 ` Johannes Berg

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=1242875059-9627-2-git-send-email-hmh@hmh.eng.br \
    --to=hmh@hmh.eng.br \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@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