diff options
| author | Taras Madan <tarasmadan@google.com> | 2023-10-27 20:44:13 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2023-10-30 10:04:44 +0000 |
| commit | 116af91fd414aed4a325041a1a89dcc6b46f2a8f (patch) | |
| tree | c27ee9d1b8e2da42e666a7c04410acb32bce84f5 /sys | |
| parent | 3c418d724accee0ff5b8487bdddeb5827ab216bd (diff) | |
sys/syz-extract/linux.go: remove one dup and ignore others
It contributes to #4285 unblocking.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/syz-extract/linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
