Skip to contentSkip to conversation

gdrom: Block comments use a trailing */ on a separate line

PATCH In review Sudhip Nashi 2 participants 2 messages Jun 19, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gdrom: Block comments use a trailing */ on a separate line

Fix code style to conform with linux coding standards

---
 drivers/cdrom/gdrom.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/cdrom/gdrom.c +4 -2
index 09b0cd292720..9707f04b54a3 100644
@@ -692,13 +692,15 @@ static int gdrom_init_dma_mode(void)
 	__raw_writeb(0xEF, GDROM_STATUSCOMMAND_REG);
 	if (!gdrom_wait_busy_sleeps())
 		return -EBUSY;
-	/* Memory protection setting for GDROM DMA
+       /*
+	* Memory protection setting for GDROM DMA
 	* Bits 31 - 16 security: 0x8843
 	* Bits 15 and 7 reserved (0)
 	* Bits 14 - 8 start of transfer range in 1 MB blocks OR'ed with 0x80
 	* Bits 6 - 0 end of transfer range in 1 MB blocks OR'ed with 0x80
 	* (0x40 | 0x80) = start range at 0x0C000000
-	* (0x7F | 0x80) = end range at 0x0FFFFFFF */
+	* (0x7F | 0x80) = end range at 0x0FFFFFFF
+	*/
 	__raw_writel(0x8843407F, GDROM_DMA_ACCESS_CTRL_REG);
 	__raw_writel(9, GDROM_DMA_WAIT_REG); /* DMA word setting */
 	return 0;
Signature · 1 line
2.27.0
#1 lore raw
Quoted 1 line · Sudhip Nashi

Fix code style to conform with linux coding standards

Let's please just leave these old things alone, not worth the trouble.

Signature · 1 line
Jens Axboe