Skip to contentSkip to conversation

staging: rtl8723bs: fix line length warning

PATCH In review Andrea Poldi 2 participants 2 messages Mar 17 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: fix line length warning

Break a long function call across two lines in order to make code easier to read and also comply with the Linux coding style.

Problem was found using checkpatch.pl tool.

---

Note:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings

 drivers/staging/rtl8723bs/core/rtw_cmd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/rtl8723bs/core/rtw_cmd.c +2 -1
index 8cd2fdbe417d..c1185c25ed36 100644
@@ -1769,7 +1769,8 @@ u8 rtw_drvextra_cmd_hdl(struct adapter *padapter, unsigned char *pbuf)
 		rtw_free_assoc_resources(padapter, 1);
 		break;
 	case C2H_WK_CID:
-		rtw_hal_set_hwreg_with_buf(padapter, HW_VAR_C2H_HANDLE, pdrvextra_cmd->pbuf, pdrvextra_cmd->size);
+		rtw_hal_set_hwreg_with_buf(padapter, HW_VAR_C2H_HANDLE,
+					   pdrvextra_cmd->pbuf, pdrvextra_cmd->size);
 		break;
 	case DM_RA_MSK_WK_CID:
 		rtw_dm_ra_mask_hdl(padapter, (struct sta_info *)pdrvextra_cmd->pbuf);
Signature · 1 line
2.50.1 (Apple Git-155)
#1 lore raw
Quoted 4 lines · Andrea Poldi

Break a long function call across two lines in order to make code easier to read and also comply with the Linux coding style.

Problem was found using checkpatch.pl tool.

I can't believe there is only a single place in this entire driver like this. Personally I consider this kind of changes useless unless they are coupled with something real. But since it's staging, I'm not NAKing it. Up to Greg and others on what to do with this patch.

Signature · 2 lines
With Best Regards,
Andy Shevchenko