From: Vihas Makwana <makvihas@gmail.com>
To: Larry Finger <Larry.Finger@lwfinger.net>,
Phillip Potter <phil@philpotter.co.uk>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Michael Straube <straube.linux@gmail.com>,
Martin Kaiser <martin@kaiser.cx>
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Vihas Makwana <makvihas@gmail.com>
Subject: [PATCH 01/16] staging: r8188eu: mark rtw_is_cckrates_included as bool
Date: Thu, 3 Mar 2022 02:17:22 +0530 [thread overview]
Message-ID: <20220302204737.49056-2-makvihas@gmail.com> (raw)
In-Reply-To: <20220302204737.49056-1-makvihas@gmail.com>
Mark rtw_is_cckrates_included as bool as it returns true/false.
Signed-off-by: Vihas Makwana <makvihas@gmail.com>
---
drivers/staging/r8188eu/core/rtw_ieee80211.c | 2 +-
drivers/staging/r8188eu/include/ieee80211.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/r8188eu/core/rtw_ieee80211.c b/drivers/staging/r8188eu/core/rtw_ieee80211.c
index 62354c319..a7b7b0f14 100644
--- a/drivers/staging/r8188eu/core/rtw_ieee80211.c
+++ b/drivers/staging/r8188eu/core/rtw_ieee80211.c
@@ -68,7 +68,7 @@ int rtw_get_bit_value_from_ieee_value(u8 val)
return 0;
}
-uint rtw_is_cckrates_included(u8 *rate)
+bool rtw_is_cckrates_included(u8 *rate)
{
u32 i = 0;
diff --git a/drivers/staging/r8188eu/include/ieee80211.h b/drivers/staging/r8188eu/include/ieee80211.h
index 3a860e132..1a15db097 100644
--- a/drivers/staging/r8188eu/include/ieee80211.h
+++ b/drivers/staging/r8188eu/include/ieee80211.h
@@ -872,7 +872,7 @@ int rtw_generate_ie(struct registry_priv *pregistrypriv);
int rtw_get_bit_value_from_ieee_value(u8 val);
-uint rtw_is_cckrates_included(u8 *rate);
+bool rtw_is_cckrates_included(u8 *rate);
uint rtw_is_cckratesonly_included(u8 *rate);
--
2.30.2
next prev parent reply other threads:[~2022-03-02 20:48 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-02 20:47 [PATCH 00/16] staging: r8188eu: convert functions to return bool Vihas Makwana
2022-03-02 20:47 ` Vihas Makwana [this message]
2022-03-02 20:47 ` [PATCH 02/16] staging: r8188eu: mark rtw_is_cckratesonly_included as bool Vihas Makwana
2022-03-02 20:47 ` [PATCH 03/16] staging: r8188eu: mark rtw_is_desired_network " Vihas Makwana
2022-03-02 20:47 ` [PATCH 04/16] staging: r8188eu: mark PS_RDY_CHECK " Vihas Makwana
2022-03-02 20:47 ` [PATCH 05/16] staging: r8188eu: mark check_indicate_seq " Vihas Makwana
2022-03-02 20:47 ` [PATCH 06/16] staging: r8188eu: mark enqueue_reorder_recvframe " Vihas Makwana
2022-03-02 20:47 ` [PATCH 07/16] staging: r8188eu: mark recv_indicatepkts_in_order " Vihas Makwana
2022-03-02 20:47 ` [PATCH 08/16] staging: r8188eu: mark cckrates_included " Vihas Makwana
2022-03-02 20:47 ` [PATCH 09/16] staging: r8188eu: mark cckratesonly_included " Vihas Makwana
2022-03-02 20:47 ` [PATCH 10/16] staging: r8188eu: mark is_basicrate " Vihas Makwana
2022-03-02 20:47 ` [PATCH 11/16] staging: r8188eu: mark is_ap_in_tkip " Vihas Makwana
2022-03-02 20:47 ` [PATCH 12/16] staging: r8188eu: mark rtl8188eu_xmitframe_complete " Vihas Makwana
2022-03-02 20:47 ` [PATCH 13/16] staging: r8188eu: mark check_fwstate " Vihas Makwana
2022-03-02 20:47 ` [PATCH 14/16] staging: r8188eu: mark IS_MCAST " Vihas Makwana
2022-03-02 20:47 ` [PATCH 15/16] staging: r8188eu: mark IsFrameTypeCtrl " Vihas Makwana
2022-03-02 20:47 ` [PATCH 16/16] staging: r8188eu: mark rtw_endofpktfile " Vihas Makwana
2022-03-03 12:20 ` [PATCH 00/16] staging: r8188eu: convert functions to return bool Dan Carpenter
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=20220302204737.49056-2-makvihas@gmail.com \
--to=makvihas@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=martin@kaiser.cx \
--cc=phil@philpotter.co.uk \
--cc=straube.linux@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox