staging: rtl8723bs: wrap long pointer arithmetic line
PATCH v2 1/1 staging: rtl8723bs: wrap long pointer arithmetic line
Wrap a long pointer arithmetic line to resolve a checkpatch.pl line length warning.
Signed-off-by Devansh Soni <[email protected]>
--- drivers/staging/rtl8723bs/core/rtw_cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/rtl8723bs/core/rtw_cmd.c +2 -1
@@ -184,7 +184,8 @@ int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv)return -ENOMEM ; } - pcmdpriv->rsp_buf = pcmdpriv->rsp_allocated_buf +4 - ((SIZE_PTR )(pcmdpriv->rsp_allocated_buf) &3 ); + pcmdpriv->rsp_buf = pcmdpriv->rsp_allocated_buf +4 - + ((SIZE_PTR )(pcmdpriv->rsp_allocated_buf) &3 ); pcmdpriv->cmd_issued_cnt =0 ; pcmdpriv->cmd_done_cnt =0 ;
Signature · 1 line
2.54.0
Quoted 5 lines · Devansh Soni
Wrap a long pointer arithmetic line to resolve a checkpatch.pl line length warning.
Signed-off-by Devansh Soni <[email protected]>---
Please wait a day between resends. Follow all the other v2 rules etc.
https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/
regards,
dan carpenter