Re: [PATCH 00/16] staging: r8188eu: convert functions to return bool

From: Dan Carpenter
Date: Thu Mar 03 2022 - 07:20:44 EST


On Thu, Mar 03, 2022 at 02:17:21AM +0530, Vihas Makwana wrote:
> There are many functions which return true/false but are marked as int,
> uint, s32 etc. Mark them as bool.
>
> Vihas Makwana (16):
> staging: r8188eu: mark rtw_is_cckrates_included as bool
> staging: r8188eu: mark rtw_is_cckratesonly_included as bool
> staging: r8188eu: mark rtw_is_desired_network as bool
> staging: r8188eu: mark PS_RDY_CHECK as bool
> staging: r8188eu: mark check_indicate_seq as bool
> staging: r8188eu: mark enqueue_reorder_recvframe as bool
> staging: r8188eu: mark recv_indicatepkts_in_order as bool
> staging: r8188eu: mark cckrates_included as bool
> staging: r8188eu: mark cckratesonly_included as bool
> staging: r8188eu: mark is_basicrate as bool
> staging: r8188eu: mark is_ap_in_tkip as bool
> staging: r8188eu: mark rtl8188eu_xmitframe_complete as bool
> staging: r8188eu: mark check_fwstate as bool
> staging: r8188eu: mark IS_MCAST as bool
> staging: r8188eu: mark IsFrameTypeCtrl as bool
> staging: r8188eu: mark rtw_endofpktfile as bool
>

Looks good. Thanks!

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

regards,
dan carpenter