X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fwigyori.git;a=blobdiff_plain;f=target%2Flinux%2Flayerscape%2Fpatches-5.4%2F701-net-0335-net-tsn-fix-headfile-voliates-the-new-rule.patch;fp=target%2Flinux%2Flayerscape%2Fpatches-5.4%2F701-net-0335-net-tsn-fix-headfile-voliates-the-new-rule.patch;h=e732f1447691dde3ea9eb1072f65247e684a06bf;hp=0000000000000000000000000000000000000000;hb=cddd4591404fb4c53dc0b3c0b15b942cdbed4356;hpb=d1d2c0b5579ea4f69a42246c9318539d61ba1999 diff --git a/target/linux/layerscape/patches-5.4/701-net-0335-net-tsn-fix-headfile-voliates-the-new-rule.patch b/target/linux/layerscape/patches-5.4/701-net-0335-net-tsn-fix-headfile-voliates-the-new-rule.patch new file mode 100644 index 0000000000..e732f14476 --- /dev/null +++ b/target/linux/layerscape/patches-5.4/701-net-0335-net-tsn-fix-headfile-voliates-the-new-rule.patch @@ -0,0 +1,22 @@ +From 6e9f130a3be14a92a16b2332f6c92f873ebb8af5 Mon Sep 17 00:00:00 2001 +From: Dong Aisheng +Date: Tue, 3 Sep 2019 15:57:49 +0800 +Subject: [PATCH] net: tsn: fix headfile voliates the new rule + +After commit +622445541b75 ("kbuild: detect missing "WITH Linux-syscall-note" for uapi headers") +the headfile must explicitly include "WITH Linux-syscall-note". + +Signed-off-by: Dong Aisheng +--- + include/uapi/linux/tsn.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/include/uapi/linux/tsn.h ++++ b/include/uapi/linux/tsn.h +@@ -1,4 +1,4 @@ +-/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ ++/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) WITH Linux-syscall-note */ + /* Copyright 2017-2019 NXP */ + + #ifndef __UAPI_GENL_TSN_H