From 116af91fd414aed4a325041a1a89dcc6b46f2a8f Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Fri, 27 Oct 2023 20:44:13 +0200 Subject: sys/syz-extract/linux.go: remove one dup and ignore others It contributes to #4285 unblocking. --- sys/syz-extract/linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/syz-extract/linux.go b/sys/syz-extract/linux.go index 4ba940ef4..8eba47eb9 100644 --- a/sys/syz-extract/linux.go +++ b/sys/syz-extract/linux.go @@ -115,6 +115,7 @@ func (*linux) prepareArch(arch *Arch) error { return nil } +// nolint: goconst func (*linux) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uint64, map[string]bool, error) { headerArch := arch.target.KernelHeaderArch sourceDir := arch.sourceDir @@ -135,7 +136,6 @@ func (*linux) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uint "-I" + buildDir + "/include", "-I" + sourceDir + "/include", "-I" + sourceDir + "/arch/" + headerArch + "/include/uapi", - "-I" + buildDir + "/arch/" + headerArch + "/include/generated/uapi", "-I" + sourceDir + "/include/uapi", "-I" + buildDir + "/include/generated/uapi", "-I" + sourceDir, -- cgit mrf-deployment