public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Luis Ortega <luiorpe1@gmail.com>
To: pe1dnn@amsat.org
Cc: gregkh@linuxfoundation.org, monamagarwal123@gmail.com,
	josh@joshtriplett.org, archanakumari959@gmail.com,
	paulmck@linux.vnet.ibm.com, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org, Luis Ortega <luiorpe1@gmail.com>
Subject: [PATCH] staging: wlags49_h2: fix sparse warning "should it be static"
Date: Wed,  7 May 2014 18:31:48 +0200	[thread overview]
Message-ID: <1399480308-15869-1-git-send-email-luiorpe1@gmail.com> (raw)

Fixes the following warning:
drivers/staging/wlags49_h2/sta_h2.c:4471:10: warning: symbol 'fw_image' was not declared. Should it be static?

Signed-off-by: Luis Ortega <luiorpe1@gmail.com>
---
 drivers/staging/wlags49_h2/sta_h2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wlags49_h2/sta_h2.c b/drivers/staging/wlags49_h2/sta_h2.c
index 0ba8def..2838faa 100644
--- a/drivers/staging/wlags49_h2/sta_h2.c
+++ b/drivers/staging/wlags49_h2/sta_h2.c
@@ -4468,7 +4468,7 @@ static const CFG_RANGE20_STRCT fw_image_infocompat[] = {
 	{ 0000, 0000, 0000, 0000, { { 0000, 0000, 0000 } } }	/* endsentinel */
 };

-memimage fw_image = {
+static memimage fw_image = {
 	"FUPU7D37dhfwci\001C",			/* signature, <format number>, C/Bin type */
 	(CFG_PROG_STRCT *) fw_image_code,
 	0x000F368E,
--
1.9.2


             reply	other threads:[~2014-05-07 14:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07 16:31 Luis Ortega [this message]
2014-05-23 16:53 ` [PATCH] staging: wlags49_h2: fix sparse warning "should it be static" Greg KH

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=1399480308-15869-1-git-send-email-luiorpe1@gmail.com \
    --to=luiorpe1@gmail.com \
    --cc=archanakumari959@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=josh@joshtriplett.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=monamagarwal123@gmail.com \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=pe1dnn@amsat.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