Make all Ethernet drivers be compiled with the equivalent of W=1 as defined today. Signed-off-by: Andrew Lunn <andrew@xxxxxxx> --- drivers/net/ethernet/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index f8f38dcb5f8a..8162b2f6ec81 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile @@ -3,6 +3,9 @@ # Makefile for the Linux network Ethernet device drivers. # +# Enable W=1, as defined on the given date +subdir-ccflags-y := $(KBUILD_CFLAGS_W1_20200930) + obj-$(CONFIG_NET_VENDOR_3COM) += 3com/ obj-$(CONFIG_NET_VENDOR_8390) += 8390/ obj-$(CONFIG_NET_VENDOR_ADAPTEC) += adaptec/ -- 2.28.0