Skip to content

Replace functions return types to 'bool'

Nikolay Kulikov linux-staging 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 1 replySuperseded

Changes in v2 from the cover letter

- Remove unnecessary local variables for return values
- Rebase patchset to actual staging-testing branch (without conflicts)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4staging: rtl8723bs: replace rtw_if_up() return type to booldrivers/staging/rtl8723bs/core/rtw_mlme.c drivers/staging/rtl8723bs/include/rtw_mlme.h+4 -80 replies
2/4staging: rtl8723bs: replace rtw_is_same_ibss() return type to booldrivers/staging/rtl8723bs/core/rtw_mlme.c drivers/staging/rtl8723bs/include/rtw_mlme.h+5 -80 replies
3/4staging: rtl8723bs: replace rtw_is_desired_network() return type to booldrivers/staging/rtl8723bs/core/rtw_mlme.c+2 -30 replies
4/4staging: rtl8723bs: replace rtw_linked_check() return type to booldrivers/staging/rtl8723bs/core/rtw_mlme.c drivers/staging/rtl8723bs/include/rtw_mlme.h+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] Replace functions return types to 'bool'

This patchset modernize the return types of some functions in core/rtw_mlme.c file for greater code clarity.

Nikolay Kulikov (4):
staging: rtl8723bs: replace rtw_if_up() return type to bool
staging: rtl8723bs: replace rtw_is_same_ibss() return type to bool
staging: rtl8723bs: replace rtw_is_desired_network() return type to
bool
staging: rtl8723bs: replace rtw_linked_check() return type to bool

 drivers/staging/rtl8723bs/core/rtw_mlme.c    | 28 +++++++-------------
 drivers/staging/rtl8723bs/include/rtw_mlme.h |  6 ++---
 2 files changed, 13 insertions(+), 21 deletions(-)

Changes in v2:
- Remove unnecessary local variables for return values
- Rebase patchset to actual staging-testing branch (without conflicts)

Thanks,

Nikolay

Signature · 1 line
2.53.0