Skip to contentSkip to conversation

media: atomisp: fix block comment formatting style

PATCH In review Bohdan D. Marcus 2 participants 2 messages Jul 1 – Jul 2

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 media: atomisp: fix block comment formatting style

Fix a block comment formatting warning reported by checkpatch.pl in atomisp_cmd.c to conform to the Linux kernel coding style.

---
Changes in v4:
- Fixed code indentation (removed excessive tabs) as requested by Dan Carpenter

Changes in v3:
- Fixed commit description line wrap to be under 75 chars per line

Changes in v2:
- Fixed author name and Signed-off-by email mismatch

 drivers/staging/media/atomisp/pci/atomisp_cmd.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
drivers/staging/media/atomisp/pci/atomisp_cmd.c +6 -3
index 6cd500d9fd26..d4c823f18cab 100644
@@ -2520,9 +2520,12 @@ int atomisp_css_cp_dvs2_coefs(struct atomisp_sub_device *asd,
 		if (sizeof(*cur) != sizeof(dvs2_coefs.grid) ||
 		    memcmp(&dvs2_coefs.grid, cur, sizeof(dvs2_coefs.grid))) {
 			dev_err(asd->isp->dev, "dvs grid mismatch!\n");
-			/* If the grid info in the argument differs from the current
-			grid info, we tell the caller to reset the grid size and
-			try again. */
+			/*
+			 * If the grid info in the argument differs
+			 * from the current grid info, we tell the
+			 * caller to reset the grid size and try
+			 * again.
+			 */
 			return -EAGAIN;
 		}
 
Signature · 1 line
2.55.0
#1 lore raw
Quoted 3 lines · Bohdan D. Marcus

Fix a block comment formatting warning reported by checkpatch.pl in atomisp_cmd.c to conform to the Linux kernel coding style.

This is too condensed commit message, use up to ~72 characters per line. Also try to find more issues of the kind and fix them altogether.

Signature · 2 lines
With Best Regards,
Andy Shevchenko