gpioioctl:Implement ioctl access to Linux GPIO chips/lines. #175
Annotations
20 errors
Check: go vet shadow; shadowed variables:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
Check: go vet shadow; shadowed variables:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
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: go vet:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
Check: go vet:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
Check: go vet
Process completed with exit code 1.
|
Check: staticcheck:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value (compile)
|
Check: staticcheck:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value (compile)
|
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