Skip to contentSkip to conversation

staging: vt6655: Fix line length exceeding 100 columns

PATCH In review Dorine Tipo 2 participants 2 messages Mar 10, 2024 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: vt6655: Fix line length exceeding 100 columns

Break function declaration into multiple lines.

This patch breaks the RFbAL7230SelectChannelPostProcess() function declaration into multiple lines to improve readability and compliance with coding standards.

---
 drivers/staging/vt6655/rf.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/vt6655/rf.h +2 -1
index 6f842ac00526..057860a5e100 100644
@@ -69,7 +69,8 @@ void RFvRSSITodBm(struct vnt_private *priv, unsigned char byCurrRSSI,
 		  long *pldBm);
 
 /* {{ RobertYu: 20050104 */
-bool RFbAL7230SelectChannelPostProcess(struct vnt_private *priv, u16 byOldChannel, u16 byNewChannel);
+bool RFbAL7230SelectChannelPostProcess(struct vnt_private *priv, u16 byOldChannel,
+				       u16 byNewChannel);
 /* }} RobertYu */
 
 #endif /* __RF_H__ */

--
2.25.1

#1 lore raw
Quoted 16 lines · Dorine Tipo

Break function declaration into multiple lines.

This patch breaks the RFbAL7230SelectChannelPostProcess() function declaration into multiple lines to improve readability and compliance with coding standards.

---
 drivers/staging/vt6655/rf.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/vt6655/rf.h +0 -0
index 6f842ac00526..057860a5e100 100644

drivers/staging/vt6655/rf.h void RFvRSSITodBm(struct vnt_private *priv, unsigned char byCurrRSSI, · line 73

Quoted 6 lines
drivers/staging/vt6655/rf.h +2 -1
@@ -69,7 +69,8 @@ void RFvRSSITodBm(struct vnt_private *priv, unsigned char byCurrRSSI,
 		  long *pldBm);
 
 /* {{ RobertYu: 20050104 */
-bool RFbAL7230SelectChannelPostProcess(struct vnt_private *priv, u16 byOldChannel, u16 byNewChannel);
+bool RFbAL7230SelectChannelPostProcess(struct vnt_private *priv, u16 byOldChannel,
+				       u16 byNewChannel);

Maybe there is a way to make the name of the function shorter instead? It looks pretty long y Linux kernel standards.

julia

Quoted 8 lines
drivers/staging/vt6655/rf.h +0 -1
 /* }} RobertYu */
 
 #endif /* __RF_H__ */
--

2.25.1