staging: rtl8723bs: add missing spaces around '*' operator
PATCH 1/1 staging: rtl8723bs: add missing spaces around '*' operator
Adhere to the Linux kernel coding style by adding missing spaces around the '*' binary operator in the init_channel_set function. This resolves a checkpatch warning and improves code readability.
Signed-off-by Mohammed Momin <[email protected]>
--- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +1 -1
@@ -326,7 +326,7 @@ static u8 init_channel_set(struct adapter *padapter, u8 ChannelPlan, struct rt_cu8 b2_4GBand = false;u8 Index2G =0 ; -memset (channel_set,0 ,sizeof (struct rt_channel_info )*MAX_CHANNEL_NUM ); +memset (channel_set,0 ,sizeof (struct rt_channel_info ) *MAX_CHANNEL_NUM );if (ChannelPlan >=RT_CHANNEL_DOMAIN_MAX && ChannelPlan !=RT_CHANNEL_DOMAIN_REALTEK_DEFINE )return chanset_size;
Signature · 1 line
2.54.0