• Borislav Petkov's avatar
    ide-floppy: fix most of the remaining checkpatch.pl issues · 0571c7a4
    Borislav Petkov authored
    such as
    ERROR: switch and case should be at the same indent
    ERROR: need spaces around that '=' (ctx:VxV)
    ERROR: trailing statements should be on next line
    WARNING: no space between function name and open parenthesis '('
    WARNING: printk() should include KERN_ facility level
    ERROR: That open brace { should be on the previous line
    ERROR: use tabs not spaces
    ERROR: do not use assignment in if condition
    WARNING: braces {} are not necessary for single statement blocks
    ERROR: need space after that ',' (ctx:VxV)
    WARNING: line over 80 characters
    ERROR: do not use assignment in if condition
    and so on.
    Signed-off-by: default avatarBorislav Petkov <bbpetkov@yahoo.de>
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
ide-floppy.c 47 KB