diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-16 12:40:29 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2017-10-19 10:53:42 +0200 |
commit | a8e9b186f153a44690ad0363a56716e7077ad28c (patch) | |
tree | 325f654568cf7caa234a8d22ddafe0319d7bd551 /drivers/edac/sb_edac.c | |
parent | 7339605aa1b5fc551eb23a9563b8b84ba33632f0 (diff) |
EDAC, sb_edac: Fix missing break in switch
Add missing break statement in order to prevent the code from falling
through.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Cc: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20171016174029.GA19757@embeddedor.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/sb_edac.c')
-rw-r--r-- | drivers/edac/sb_edac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index 72b98a081d2b..f34430f99fd8 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c @@ -2485,6 +2485,7 @@ static int ibridge_mci_bind_devs(struct mem_ctl_info *mci, case PCI_DEVICE_ID_INTEL_IBRIDGE_IMC_HA0_TA: case PCI_DEVICE_ID_INTEL_IBRIDGE_IMC_HA1_TA: pvt->pci_ta = pdev; + break; case PCI_DEVICE_ID_INTEL_IBRIDGE_IMC_HA0_RAS: case PCI_DEVICE_ID_INTEL_IBRIDGE_IMC_HA1_RAS: pvt->pci_ras = pdev; |