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/ifuzz/pseudo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/ifuzz') diff --git a/pkg/ifuzz/pseudo.go b/pkg/ifuzz/pseudo.go index 8ca8ef8d6..1bb171665 100644 --- a/pkg/ifuzz/pseudo.go +++ b/pkg/ifuzz/pseudo.go @@ -399,7 +399,7 @@ func (gen *generator) mov64(reg int, v uint64) { gen.imm64(v) } -// movl $v, off(%rsp) +// movl $v, off(%rsp). func (gen *generator) mov32toSPaddr(v uint32, off uint8) { gen.addr32() gen.operand32() @@ -565,7 +565,7 @@ var ports = []uint16{ 0x20, 0x21, 0xa0, 0xa1, 0x4d0, 0x4d1, // 8259 } -// sys/kvm.txt also knows this list +// sys/kvm.txt also knows this list. var msrs = []uint32{ 0x0, 0x1, 0x10, 0x11, 0x12, 0x13, 0x17, 0x1b, 0x20, 0x21, 0x28, 0x29, 0x2a, 0x2c, 0x33, 0x34, -- cgit mrf-deployment