[PATCH] powerpc:mark expected switch fall-throughs

2019-09-21 Thread Lei Xu
statement may fall through [-Werror=implicit-fallthrough=] ret |= __put_user_inatomic(data.v[5], p++); ^~ arch/powerpc/kernel/align.c:265:3: note: here case 2: ^~~~ cc1: all warnings being treated as errors This patch fixs the above errors. Signed-off-by: Lei Xu --- arch/powerpc

[PATCH] PCI: portdrv: fix irq initialization on FSL pcie host controller

2011-04-22 Thread Lei Xu
Root complex ports for Freescale PCIe host controller only receive interrupts, so if there is no irq setting for RC, it should not return error, otherwise it may result the PCIe host controller is disabled. Signed-off-by: Lei Xu --- drivers/pci/pcie/portdrv_core.c |5 - 1 files changed