lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 11 Dec 2015 16:34:16 -0300
From:	"Geyslan G. Bem" <geyslan@...il.com>
To:	LKML <linux-kernel@...r.kernel.org>
Cc:	Peter Senna Tschudin <peter.senna@...il.com>,
	Joe Perches <joe@...ches.com>, Robo Bot <apw@...onical.com>
Subject: [BUG] checkpatch warning default switch case

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ