From: <Ajay.Kathat@microchip.com>
To: <kvalo@kernel.org>, <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH wireless] wifi: wilc1000: fix spurious inline in wilc_handle_disconnect()
Date: Mon, 1 Aug 2022 14:13:56 +0000 [thread overview]
Message-ID: <af73ba89-2a41-5da2-9418-6eb498f1e392@microchip.com> (raw)
In-Reply-To: <20220801110440.13144-1-kvalo@kernel.org>
On 01/08/22 16:34, Kalle Valo wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> Sparse warns:
>
> drivers/net/wireless/microchip/wilc1000/hif.h:218:35: error: marked inline, but without a definition
>
> Remove the inline, it's not needed.
>
Acked-by: Ajay Singh <ajay.kathat@microchip.com>
> Reported-by: Jakub Kicinski <kuba@kernel.org>
> Signed-off-by: Kalle Valo <kvalo@kernel.org>
> ---
> drivers/net/wireless/microchip/wilc1000/hif.c | 2 +-
> drivers/net/wireless/microchip/wilc1000/hif.h | 3 ++-
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/wireless/microchip/wilc1000/hif.c b/drivers/net/wireless/microchip/wilc1000/hif.c
> index b89519ab9205..eb1d1ba3a443 100644
> --- a/drivers/net/wireless/microchip/wilc1000/hif.c
> +++ b/drivers/net/wireless/microchip/wilc1000/hif.c
> @@ -635,7 +635,7 @@ static inline void host_int_parse_assoc_resp_info(struct wilc_vif *vif,
> conn_info->req_ies_len = 0;
> }
>
> -inline void wilc_handle_disconnect(struct wilc_vif *vif)
> +void wilc_handle_disconnect(struct wilc_vif *vif)
> {
> struct host_if_drv *hif_drv = vif->hif_drv;
>
> diff --git a/drivers/net/wireless/microchip/wilc1000/hif.h b/drivers/net/wireless/microchip/wilc1000/hif.h
> index 69ba1d469e9f..baa2881f4465 100644
> --- a/drivers/net/wireless/microchip/wilc1000/hif.h
> +++ b/drivers/net/wireless/microchip/wilc1000/hif.h
> @@ -215,5 +215,6 @@ void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length);
> void *wilc_parse_join_bss_param(struct cfg80211_bss *bss,
> struct cfg80211_crypto_settings *crypto);
> int wilc_set_default_mgmt_key_index(struct wilc_vif *vif, u8 index);
> -inline void wilc_handle_disconnect(struct wilc_vif *vif);
> +void wilc_handle_disconnect(struct wilc_vif *vif);
> +
> #endif
>
> base-commit: 63757225a93353bc2ce4499af5501eabdbbf23f9
> --
> 2.30.2
>
next prev parent reply other threads:[~2022-08-01 14:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-01 11:04 [PATCH wireless] wifi: wilc1000: fix spurious inline in wilc_handle_disconnect() Kalle Valo
2022-08-01 14:13 ` Ajay.Kathat [this message]
2022-08-08 8:11 ` Kalle Valo
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=af73ba89-2a41-5da2-9418-6eb498f1e392@microchip.com \
--to=ajay.kathat@microchip.com \
--cc=kvalo@kernel.org \
--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