aboutsummaryrefslogtreecommitdiffstats
path: root/prog
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-03-27 08:25:44 +0100
committerTaras Madan <tarasmadan@google.com>2025-03-27 10:07:16 +0000
commit02d129fe26c31412aad2e815db95ebe2dd99413f (patch)
treecf240d8f23e48fbb1b70cc0a30c68a754ca3cf73 /prog
parentc66ac62e1284de84775ccf0edf94f224db8b4509 (diff)
all: opt-out some functions to enforce linter checks
New code will be limited to max 7 function params.
Diffstat (limited to 'prog')
-rw-r--r--prog/size.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/prog/size.go b/prog/size.go
index d354aadbe..c8f6dfd2e 100644
--- a/prog/size.go
+++ b/prog/size.go
@@ -22,6 +22,7 @@ func (target *Target) assignSizes(args []Arg, fields []Field, parents parentStac
}
}
+// nolint:revive
func (target *Target) assignArgSize(arg Arg, args []Arg, fields []Field, parents parentStack,
syscallArgs []Arg, syscallFields []Field, autos map[Arg]bool, overlayField int) {
if arg = InnerArg(arg); arg == nil {