From: John Crispin Date: Tue, 7 Jul 2015 13:44:37 +0000 (+0000) Subject: lantiq: Silence the printk when a PCIe error interrupt arrives X-Git-Tag: reboot~2592 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2748df1c984e1ec105d95d42c87d67d637decdee;p=openwrt%2Fstaging%2Fjogo.git lantiq: Silence the printk when a PCIe error interrupt arrives Basically the only error I am seeing is "Correctable Error". Also newer lantiq PCIe drivers have this message wrapped in a "if debug enabled" block. So it should be safe to disable this warning. Signed-off-by: Martin Blumenstingl SVN-Revision: 46222 --- diff --git a/target/linux/lantiq/patches-3.18/0001-MIPS-lantiq-add-pcie-driver.patch b/target/linux/lantiq/patches-3.18/0001-MIPS-lantiq-add-pcie-driver.patch index 85311c21f2..b513e8a33a 100644 --- a/target/linux/lantiq/patches-3.18/0001-MIPS-lantiq-add-pcie-driver.patch +++ b/target/linux/lantiq/patches-3.18/0001-MIPS-lantiq-add-pcie-driver.patch @@ -1105,7 +1105,7 @@ Signed-off-by: John Crispin + int pcie_port = ctrl->port; + u32 reg; + -+ printk("PCIe RC error intr %d\n", irq); ++ pr_debug("PCIe RC error intr %d\n", irq); + reg = IFX_REG_R32(PCIE_IRNCR(pcie_port)); + reg &= PCIE_RC_CORE_COMBINED_INT; + IFX_REG_W32(reg, PCIE_IRNCR(pcie_port));