mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vaibhav Kothari <vaibhavddit@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Vaibhav Kothari <vaibhavddit@gmail.com>
Subject: [PATCH] staging: irda: net: Fix warning for incomplete Declarations in irlap.c
Date: Thu, 28 Dec 2017 13:30:41 +0530	[thread overview]
Message-ID: <1514448041-26200-1-git-send-email-vaibhavddit@gmail.com> (raw)

This patch fixes the Sparse Warning "symbol was
not declared. Should it be static?" in net/irlap.c

Signed-off-by: Vaibhav Kothari <vaibhavddit@gmail.com>
---
 drivers/staging/irda/net/irlap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/irda/net/irlap.c b/drivers/staging/irda/net/irlap.c
index d7d8944..6bc5f0b5 100644
--- a/drivers/staging/irda/net/irlap.c
+++ b/drivers/staging/irda/net/irlap.c
@@ -48,12 +48,12 @@
 #include <net/irda/qos.h>
 
 static hashbin_t *irlap = NULL;
-int sysctl_slot_timeout = SLOT_TIMEOUT * 1000 / HZ;
+static int sysctl_slot_timeout = SLOT_TIMEOUT * 1000 / HZ;
 
 /* This is the delay of missed pf period before generating an event
  * to the application. The spec mandate 3 seconds, but in some cases
  * it's way too long. - Jean II */
-int sysctl_warn_noreply_time = 3;
+static int sysctl_warn_noreply_time = 3;
 
 extern void irlap_queue_xmit(struct irlap_cb *self, struct sk_buff *skb);
 static void __irlap_close(struct irlap_cb *self);
-- 
2.7.4

             reply	other threads:[~2017-12-28  8:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-28  8:00 Vaibhav Kothari [this message]
2017-12-29 22:01 ` kbuild test robot
2017-12-29 22:36 ` kbuild test robot

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=1514448041-26200-1-git-send-email-vaibhavddit@gmail.com \
    --to=vaibhavddit@gmail.com \
    --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®