From e3d77cf2a3cefdc0b6781c32ca3b878568a5856b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 4 Jun 2020 22:20:22 +0200 Subject: .golangci.yml: enable godot checker A good one. Lots of fixed comments are contributed by episodic contributors. So it's good to catch these earlier. --- pkg/ipc/ipc.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg/ipc') diff --git a/pkg/ipc/ipc.go b/pkg/ipc/ipc.go index 9ee7843d3..e5e6a2b30 100644 --- a/pkg/ipc/ipc.go +++ b/pkg/ipc/ipc.go @@ -27,7 +27,7 @@ import ( // Configuration flags for Config.Flags. type EnvFlags uint64 -// Note: New / changed flags should be added to parse_env_flags in executor.cc +// Note: New / changed flags should be added to parse_env_flags in executor.cc. const ( FlagDebug EnvFlags = 1 << iota // debug output from executor FlagSignal // collect feedback signals (coverage) @@ -43,7 +43,7 @@ const ( FlagEnableDevlinkPCI // setup devlink PCI device ) -// Per-exec flags for ExecOpts.Flags: +// Per-exec flags for ExecOpts.Flags. type ExecFlags uint64 const ( @@ -247,7 +247,7 @@ var rateLimit = time.NewTicker(1 * time.Second) // output: process output // info: per-call info // hanged: program hanged and was killed -// err0: failed to start the process or bug in executor itself +// err0: failed to start the process or bug in executor itself. func (env *Env) Exec(opts *ExecOpts, p *prog.Prog) (output []byte, info *ProgInfo, hanged bool, err0 error) { // Copy-in serialized program. progSize, err := p.SerializeForExec(env.in) -- cgit mrf-deployment