Commit 1df6a85
committed
[BACKPORT][5.8-rc1] drivers: cdrom: fix all errors reported by checkpatch
This fixes all errors that scripts/checkpatch.pl
reports about drivers/cdrom/*.c and a lot of warnings
as well. I skipped warnings that I don't know whether
fixing them will break anything.
Before:
drivers/cdrom/cdrom.c:
total: 118 errors, 126 warnings, 3794 lines checked
drivers/cdrom/gdrom.c:
total: 0 errors, 16 warnings, 873 lines checked
After:
drivers/cdrom/cdrom.c:
total: 0 errors, 38 warnings, 3866 lines checked
drivers/cdrom/gdrom.c:
total: 0 errors, 3 warnings, 882 lines checked
Test: scripts/checkpatch.pl --file drivers/cdrom/*.c
Test: make drivers/cdrom/cdrom.o
Test: make CONFIG_GDROM=y drivers/cdrom/gdrom.o # partial
Signed-off-by: Simao Gomes Viana <[email protected]>1 parent d8df5d3 commit 1df6a85
2 files changed
Lines changed: 283 additions & 202 deletions
0 commit comments