Re: [PATCH] PCI: Mark expected switch fall-through

2019-08-02 Thread Bjorn Helgaas
On Thu, Aug 01, 2019 at 08:22:48PM -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warning (Building: allmodconfig i386): > > drivers/pci/hotplug/ibmphp_res.c: In function ‘update_bridge_ranges’: >

Re: [PATCH] PCI: Mark expected switch fall-through

2019-08-01 Thread Kees Cook
On Thu, Aug 01, 2019 at 08:22:48PM -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warning (Building: allmodconfig i386): > > drivers/pci/hotplug/ibmphp_res.c: In function ‘update_bridge_ranges’: >

[PATCH] PCI: Mark expected switch fall-through

2019-08-01 Thread Gustavo A. R. Silva
Mark switch cases where we are expecting to fall through. This patch fixes the following warning (Building: allmodconfig i386): drivers/pci/hotplug/ibmphp_res.c: In function ‘update_bridge_ranges’: drivers/pci/hotplug/ibmphp_res.c:1943:16: warning: this statement may fall through