* [PATCH] gdrom: Block comments use a trailing */ on a separate line
@ 2020-06-19 21:18 Sudhip Nashi
2020-06-19 21:25 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Sudhip Nashi @ 2020-06-19 21:18 UTC (permalink / raw)
To: axboe
Cc: Arnd Bergmann, Damien Le Moal, Kefeng Wang, Petr Mladek,
Sudhip Nashi, Adam Williamson, linux-kernel
Fix code style to conform with linux coding standards
Signed-off-by: Sudhip Nashi <sudhip@nashi.us>
---
drivers/cdrom/gdrom.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/cdrom/gdrom.c b/drivers/cdrom/gdrom.c
index 09b0cd292720..9707f04b54a3 100644
--- a/drivers/cdrom/gdrom.c
+++ b/drivers/cdrom/gdrom.c
@@ -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;
--
2.27.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-19 21:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19 21:18 [PATCH] gdrom: Block comments use a trailing */ on a separate line Sudhip Nashi
2020-06-19 21:25 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®