gpioioctl:Implement ioctl access to Linux GPIO chips/lines. #167
Annotations
28 errors
Check: go vet shadow; shadowed variables:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
Check: go vet shadow; shadowed variables:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
Check: go vet shadow; shadowed variables:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
Check: go vet shadow; shadowed variables
Process completed with exit code 1.
|
Check: gosec:
bcm283x/gpio.go#L680
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
Check: gosec:
bcm283x/gpio.go#L676
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
Check: gosec:
bcm283x/gpio.go#L669
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
Check: gosec:
bcm283x/gpio.go#L659
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
Check: gosec:
bcm283x/gpio.go#L649
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
Check: gosec:
bcm283x/dma.go#L1119
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
Check: gosec:
bcm283x/dma.go#L1119
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
Check: gosec:
bcm283x/dma.go#L1114
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
Check: gosec:
bcm283x/dma.go#L1114
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
Check: gosec:
bcm283x/dma.go#L1046
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
Check: go mod tidy doesn't modify files
Process completed with exit code 1.
|
Check: staticcheck:
gpioioctl/gpio.go#L352
error strings should not be capitalized (ST1005)
|
Check: staticcheck:
gpioioctl/gpio.go#L451
error strings should not be capitalized (ST1005)
|
Check: staticcheck:
gpioioctl/lineset.go#L48
error strings should not be capitalized (ST1005)
|
Check: staticcheck:
gpioioctl/lineset.go#L48
error strings should not end with punctuation or newlines (ST1005)
|
Check: staticcheck:
gpioioctl/lineset.go#L76
should use copy(to[:], from) instead of a loop (S1001)
|
Check: staticcheck:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
Check: staticcheck:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
Check: staticcheck:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
Check: staticcheck
Process completed with exit code 1.
|
Check: go vet:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
Check: go vet:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
Check: go vet:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
Check: go vet
Process completed with exit code 1.
|
Loading