--- a/arch/mips/cavium-octeon/Makefile
+++ b/arch/mips/cavium-octeon/Makefile
@@ -18,5 +18,3 @@ obj-$(CONFIG_PCI)                     +=
 obj-$(CONFIG_PCI)                     += pci.o
 obj-$(CONFIG_PCI)                     += pcie.o
 obj-$(CONFIG_PCI_MSI)                 += msi.o
-
-EXTRA_CFLAGS += -Werror