Skip to contentSkip to conversation

tty: gdm724x: Match alignment with open parenthesis

PATCH In review Soumya Negi 2 participants 3 messages Oct 13, 2023 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tty: gdm724x: Match alignment with open parenthesis

Fix CHECK: Alignment should match open parenthesis Issue found by checkpatch.pl

---
 drivers/staging/gdm724x/gdm_tty.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/gdm724x/gdm_tty.c +2 -2
index 32b2e817ff04..4e5cac76db58 100644
@@ -271,8 +271,8 @@ int register_lte_tty_driver(void)
 	int ret;
 
 	for (i = 0; i < TTY_MAX_COUNT; i++) {
-		tty_driver = tty_alloc_driver(GDM_TTY_MINOR,
-				TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV);
+		tty_driver = tty_alloc_driver(GDM_TTY_MINOR, TTY_DRIVER_REAL_RAW |
+					      TTY_DRIVER_DYNAMIC_DEV);
 		if (IS_ERR(tty_driver))
 			return PTR_ERR(tty_driver);
 
Signature · 1 line
2.42.0
#1 lore raw

This and the next patch need to be in a series because they touch the same file.

julia

Quoted 28 lines · Soumya Negi

Fix CHECK: Alignment should match open parenthesis Issue found by checkpatch.pl

---
 drivers/staging/gdm724x/gdm_tty.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/gdm724x/gdm_tty.c +2 -3
index 32b2e817ff04..4e5cac76db58 100644
@@ -271,8 +271,8 @@ int register_lte_tty_driver(void)
 	int ret;
 
 	for (i = 0; i < TTY_MAX_COUNT; i++) {
-		tty_driver = tty_alloc_driver(GDM_TTY_MINOR,
-				TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV);
+		tty_driver = tty_alloc_driver(GDM_TTY_MINOR, TTY_DRIVER_REAL_RAW |
+					      TTY_DRIVER_DYNAMIC_DEV);
 		if (IS_ERR(tty_driver))
 			return PTR_ERR(tty_driver);
 
--

2.42.0

#2 lore raw
Quoted 4 lines · Julia Lawall

This and the next patch need to be in a series because they touch the same file.

julia

Noted. Sending them as set.

Quoted 30 lines · Soumya Negi
Quoted 29 lines

Fix CHECK: Alignment should match open parenthesis Issue found by checkpatch.pl

---
 drivers/staging/gdm724x/gdm_tty.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/gdm724x/gdm_tty.c +2 -3
index 32b2e817ff04..4e5cac76db58 100644
@@ -271,8 +271,8 @@ int register_lte_tty_driver(void)
 	int ret;
 
 	for (i = 0; i < TTY_MAX_COUNT; i++) {
-		tty_driver = tty_alloc_driver(GDM_TTY_MINOR,
-				TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV);
+		tty_driver = tty_alloc_driver(GDM_TTY_MINOR, TTY_DRIVER_REAL_RAW |
+					      TTY_DRIVER_DYNAMIC_DEV);
 		if (IS_ERR(tty_driver))
 			return PTR_ERR(tty_driver);
 
--

2.42.0