gpioioctl:Implement ioctl access to Linux GPIO chips/lines. #177
Annotations
18 errors
Check: go vet shadow; shadowed variables:
sysfs/gpio.go#L464
declaration of "err" shadows declaration at line 452
|
Check: go vet shadow; shadowed variables
Process completed with exit code 1.
|
Check: staticcheck:
gpioioctl/gpio.go#L364
error strings should not be capitalized (ST1005)
|
Check: staticcheck:
gpioioctl/gpio.go#L463
error strings should not be capitalized (ST1005)
|
Check: staticcheck:
gpioioctl/lineset.go#L49
error strings should not be capitalized (ST1005)
|
Check: staticcheck:
gpioioctl/lineset.go#L49
error strings should not end with punctuation or newlines (ST1005)
|
Check: staticcheck:
gpioioctl/lineset.go#L77
should use copy(to[:], from) instead of a loop (S1001)
|
Check: staticcheck
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)
|
Loading