Skip to contentSkip to conversation

Staging: gasket: gasket_interuppt.c: Fix string split issue.

PATCH In review Sanjana Sanikommu 2 participants 3 messages Mar 17, 2019 – Mar 18, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: gasket: gasket_interuppt.c: Fix string split issue.

Remove string " across the line.
Issue found by checkpatch.pl semantic patch results for rtw_ap.c

---
Changes in v2:
Fix the string in a single line within quotes.

 drivers/staging/gasket/gasket_interrupt.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/staging/gasket/gasket_interrupt.c +2 -4
index ff61b782df30..2d6195f7300e 100644
@@ -97,8 +97,7 @@ static void gasket_interrupt_setup(struct gasket_dev *gasket_dev)
 		 * modify-write and shift based on the packing index.
 		 */
 		dev_dbg(gasket_dev->dev,
-			"Setting up interrupt index %d with index 0x%llx and "
-			"packing %d\n",
+			"Setting up interrupt index %d with index 0x%llx and packing %d\n",
 			interrupt_data->interrupts[i].index,
 			interrupt_data->interrupts[i].reg,
 			interrupt_data->interrupts[i].packing);
@@ -120,8 +119,7 @@ static void gasket_interrupt_setup(struct gasket_dev *gasket_dev)
 				break;
 			default:
 				dev_dbg(gasket_dev->dev,
-					"Found interrupt description with "
-					"unknown enum %d\n",
+					"Found interrupt description with unknown enum %d\n",
 					interrupt_data->interrupts[i].packing);
 				return;
 			}
Signature · 1 line
2.17.1
#1 lore raw
Quoted 6 lines · Sanjana Sanikommu

Remove string " across the line.
Issue found by checkpatch.pl semantic patch results for rtw_ap.c

---
Changes in v2:

It is confusing to send the same patch twice. If you need to fix something, even forgetting to give the message about what changed since the previous version, it would be better to increase the version number. Then one can see immediately what is the most recent version, and ignore the others.

julia

Quoted 38 lines

Fix the string in a single line within quotes.

 drivers/staging/gasket/gasket_interrupt.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/staging/gasket/gasket_interrupt.c +2 -5
index ff61b782df30..2d6195f7300e 100644
@@ -97,8 +97,7 @@ static void gasket_interrupt_setup(struct gasket_dev *gasket_dev)
 		 * modify-write and shift based on the packing index.
 		 */
 		dev_dbg(gasket_dev->dev,
-			"Setting up interrupt index %d with index 0x%llx and "
-			"packing %d\n",
+			"Setting up interrupt index %d with index 0x%llx and packing %d\n",
 			interrupt_data->interrupts[i].index,
 			interrupt_data->interrupts[i].reg,
 			interrupt_data->interrupts[i].packing);
@@ -120,8 +119,7 @@ static void gasket_interrupt_setup(struct gasket_dev *gasket_dev)
 				break;
 			default:
 				dev_dbg(gasket_dev->dev,
-					"Found interrupt description with "
-					"unknown enum %d\n",
+					"Found interrupt description with unknown enum %d\n",
 					interrupt_data->interrupts[i].packing);
 				return;
 			}
--

2.17.1

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20190317181328.4707-1-sanjana99reddy99%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

#2 lore raw
Quoted 7 lines

Yeah I would send the whole thing in other version

Thank you for letting me know.

Sanjana.