From: Greg KH <gregkh@linuxfoundation.org>
To: code@slynux.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Sarath Lakshman <sarathlakshman@slynux.com>
Subject: Re: [PATCH] staging: wlan-ng: Fix sparse warnings
Date: Thu, 15 May 2014 14:56:52 -0700 [thread overview]
Message-ID: <20140515215652.GB4642@kroah.com> (raw)
In-Reply-To: <1397407189-6648-1-git-send-email-code@slynux.com>
On Sun, Apr 13, 2014 at 10:09:49PM +0530, code@slynux.com wrote:
> From: Sarath Lakshman <sarathlakshman@slynux.com>
This doesn't match your From: line, why?
>
> Fixed missed declarations for few non-static functions.
>
> Signed-off-by: Sarath Lakshman <sarathlakshman@slynux.com>
> ---
> drivers/staging/wlan-ng/cfg80211.c | 1 +
> drivers/staging/wlan-ng/prism2mgmt.h | 6 ++++++
> 2 files changed, 7 insertions(+)
>
> diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
> index f76f95c..662581c 100644
> --- a/drivers/staging/wlan-ng/cfg80211.c
> +++ b/drivers/staging/wlan-ng/cfg80211.c
> @@ -1,4 +1,5 @@
> /* cfg80211 Interface for prism2_usb module */
> +#include "prism2mgmt.h"
>
>
> /* Prism2 channel/frequency/bitrate declarations */
> diff --git a/drivers/staging/wlan-ng/prism2mgmt.h b/drivers/staging/wlan-ng/prism2mgmt.h
> index 190d390..ad049ad 100644
> --- a/drivers/staging/wlan-ng/prism2mgmt.h
> +++ b/drivers/staging/wlan-ng/prism2mgmt.h
> @@ -60,6 +60,8 @@
> #ifndef _PRISM2MGMT_H
> #define _PRISM2MGMT_H
>
> +#include "hfa384x.h"
> +
> extern int prism2_reset_holdtime;
> extern int prism2_reset_settletime;
>
> @@ -109,4 +111,8 @@ void prism2sta_processing_defer(struct work_struct *data);
> void prism2sta_commsqual_defer(struct work_struct *data);
> void prism2sta_commsqual_timer(unsigned long data);
>
> +void prism2_connect_result(wlandevice_t *wlandev, u8 failed);
> +void prism2_disconnected(wlandevice_t *wlandev);
> +void prism2_roamed(wlandevice_t *wlandev);
What about the existing declarations of these functions? Shouldn't they
be removed?
thanks,
greg k-h
prev parent reply other threads:[~2014-05-15 21:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-13 16:39 [PATCH] staging: wlan-ng: Fix sparse warnings code
2014-05-15 21:56 ` Greg KH [this message]
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=20140515215652.GB4642@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=code@slynux.com \
--cc=devel@driverdev.osuosl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sarathlakshman@slynux.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.