Skip to contentSkip to conversation

staging: vt6655: Match parenthesis alignment

PATCH Superseded Dorine Tipo 2 participants 2 messages Mar 3, 2024 Staging

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: vt6655: Match parenthesis alignment

Correct parameter alignment in bool card_set_beacon_period().

This patch aligns the beacon_interval parameter with the opening parenthesis. This change improves code readability and maintains consistency with coding style guidelines.

---
 drivers/staging/vt6655/card.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/card.c +1 -1
index 94784b5c0402..3f807d898607 100644
@@ -321,7 +321,7 @@ bool card_update_tsf(struct vnt_private *priv, unsigned char rx_rate,
  * Return Value: true if succeed; otherwise false
  */
 bool card_set_beacon_period(struct vnt_private *priv,
-			  unsigned short beacon_interval)
+			    unsigned short beacon_interval)
 {
 	u64 next_tbtt;
 
Signature · 1 line
2.25.1
#1 lore raw
Quoted 16 lines · Dorine Tipo

Correct parameter alignment in bool card_set_beacon_period().

This patch aligns the beacon_interval parameter with the opening parenthesis. This change improves code readability and maintains consistency with coding style guidelines.

---
  drivers/staging/vt6655/card.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/card.c +0 -0
index 94784b5c0402..3f807d898607 100644

drivers/staging/vt6655/card.c bool card_update_tsf(struct vnt_private *priv, unsigned char rx_rate, · line 327

Quoted 8 lines
drivers/staging/vt6655/card.c +1 -1
@@ -321,7 +321,7 @@ bool card_update_tsf(struct vnt_private *priv, unsigned char rx_rate,
   * Return Value: true if succeed; otherwise false
   */
  bool card_set_beacon_period(struct vnt_private *priv,
-			  unsigned short beacon_interval)
+			    unsigned short beacon_interval)
  {
  	u64 next_tbtt;
 

Hi Dorine,

in addition: Please include a version history on the next series. It needs to have a v2 in the subject. Fix the following checkpatch warning as well. Did you run checkpatch on your patches?

WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #9:
This patch aligns the beacon_interval parameter with the opening parenthesis.

Thanks for your support.

Bye Philipp