diff options
author | Lukas Wunner <lukas@wunner.de> | 2018-07-28 07:22:00 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-07-31 13:26:33 -0500 |
commit | 8bb46b079d05be4435892869dad23e9af23098ab (patch) | |
tree | 6c30db6932ae3dae9fe835474e98f549fbc0c158 /scripts | |
parent | 47a8e237ed443c174f8f73402755c458c56eb611 (diff) |
PCI: pciehp: Avoid implicit fallthroughs in switch statements
Per Mika's request, add an explicit break to the last case of switch
statements everywhere in pciehp to be more defensive towards future
amendments.
Per Gustavo's request, mark all non-empty implicit fallthroughs with a
comment to silence warnings triggered by -Wimplicit-fallthrough=2.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions