Messages in this thread | | | Date | Fri, 11 Dec 2015 16:34:16 -0300 | Subject | [BUG] checkpatch warning default switch case | From | "Geyslan G. Bem" <> |
| |
Hello,
Running scripts/checkpatch.pl -f drivers/usb/host/ehci-sched.c
I got this ... ERROR: spaces required around that ':' (ctx:VxE) #496: FILE: drivers/usb/host/ehci-sched.c:496: + default: ...
496: default: ehci_dbg (ehci, "periodic frame %d bogus type %d\n", frame, type); }
It seems a correct use of default switch case. Maybe the test concerns to ternary conditional.
Let me know.
-- Regards,
Geyslan G. Bem hackingbits.com
| |