All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eddie Kovsky <ewk@edkovsky.org>
To: gregkh@linuxfoundation.org, cristina.opriceana@gmail.com,
	gdonald@gmail.com, mahfouz.saif.elyazal@gmail.com,
	benoit.taine@lip6.fr, dan.carpenter@oracle.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [PATCH] Staging: rtl8192u Make function static
Date: Tue, 31 Mar 2015 17:51:19 -0600	[thread overview]
Message-ID: <20150331235119.GA31450@athena> (raw)

Changing function definition to static fixes the
following warning generated by sparse:

drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:1924:6: warning: symbol 'ieee80211_check_auth_response' was not declared. Should it be static?

Signed-off-by: Eddie Kovsky <ewk@edkovsky.org>
---
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
index 66b158714822..072d8204b01c 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
@@ -1921,7 +1921,7 @@ static void ieee80211_process_action(struct ieee80211_device *ieee,
 
 }
 
-void ieee80211_check_auth_response(struct ieee80211_device *ieee,
+static void ieee80211_check_auth_response(struct ieee80211_device *ieee,
 				   struct sk_buff *skb)
 {
 	/* default support N mode, disable halfNmode */
-- 
2.3.4


             reply	other threads:[~2015-03-31 23:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-31 23:51 Eddie Kovsky [this message]
2015-04-01  3:39 ` [PATCH] Staging: rtl8192u Make function static Sudip Mukherjee
2015-04-01  4:24   ` Eddie Kovsky

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=20150331235119.GA31450@athena \
    --to=ewk@edkovsky.org \
    --cc=benoit.taine@lip6.fr \
    --cc=cristina.opriceana@gmail.com \
    --cc=dan.carpenter@oracle.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gdonald@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mahfouz.saif.elyazal@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.