]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
PM / hibernate: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Sun, 5 Aug 2018 02:12:00 +0000 (21:12 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Aug 2018 08:32:32 +0000 (10:32 +0200)
commit82837ad5bda79cd13d64b9abad92e7872a06bc65
tree24f17fd937f06e2084621a91f6eda51d6ef172f2
parentc2cd0b08e1efd9ee58d09049a6c77e5efa0ef627
PM / hibernate: Mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

This addresses Coverity-ID: 114713 ("Missing break in switch").

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/hibernate.c