gpioioctl:Implement ioctl access to Linux GPIO chips/lines. #175
Annotations
84 errors
test: ubuntu-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
test: ubuntu-latest
Process completed with exit code 1.
|
test: macos-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
test: macos-latest
Process completed with exit code 1.
|
test: windows-latest:
gpioioctl/gpio.go#L99
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
test: windows-latest:
gpioioctl/gpio.go#L245
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.SetNonblock
|
test: windows-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
test: windows-latest:
gpioioctl/gpio.go#L408
cannot use int(chip.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
test: windows-latest:
gpioioctl/ioctl.go#L140
undefined: syscall.SYS_IOCTL
|
test: windows-latest:
gpioioctl/ioctl.go#L140
not enough arguments in call to syscall.Syscall
|
test: windows-latest:
gpioioctl/ioctl.go#L149
undefined: syscall.SYS_IOCTL
|
test: windows-latest:
gpioioctl/ioctl.go#L149
not enough arguments in call to syscall.Syscall
|
test: windows-latest:
gpioioctl/ioctl.go#L157
undefined: syscall.SYS_IOCTL
|
test: windows-latest:
gpioioctl/ioctl.go#L157
not enough arguments in call to syscall.Syscall
|
lint: ubuntu-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
lint: ubuntu-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
lint: ubuntu-latest:
sysfs/gpio.go#L464
declaration of "err" shadows declaration at line 452
|
lint: ubuntu-latest
Process completed with exit code 1.
|
lint: ubuntu-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
lint: ubuntu-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
lint: ubuntu-latest
Process completed with exit code 1.
|
lint: ubuntu-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value (compile)
|
lint: ubuntu-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value (compile)
|
lint: ubuntu-latest
Process completed with exit code 1.
|
lint: ubuntu-latest:
bcm283x/gpio.go#L680
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: ubuntu-latest:
bcm283x/gpio.go#L676
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: ubuntu-latest:
bcm283x/gpio.go#L669
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: ubuntu-latest:
bcm283x/gpio.go#L659
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: ubuntu-latest:
bcm283x/gpio.go#L649
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: ubuntu-latest:
bcm283x/dma.go#L1119
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: ubuntu-latest:
bcm283x/dma.go#L1119
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: ubuntu-latest:
bcm283x/dma.go#L1114
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: ubuntu-latest:
bcm283x/dma.go#L1114
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: ubuntu-latest:
bcm283x/dma.go#L1046
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: macos-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
lint: macos-latest:
sysfs/gpio.go#L464
declaration of "err" shadows declaration at line 452
|
lint: macos-latest
Process completed with exit code 1.
|
lint: macos-latest:
bcm283x/gpio.go#L680
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: macos-latest:
bcm283x/gpio.go#L676
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: macos-latest:
bcm283x/gpio.go#L669
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: macos-latest:
bcm283x/gpio.go#L659
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: macos-latest:
bcm283x/gpio.go#L649
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: macos-latest:
bcm283x/dma.go#L1119
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: macos-latest:
bcm283x/dma.go#L1119
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: macos-latest:
bcm283x/dma.go#L1114
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: macos-latest:
bcm283x/dma.go#L1114
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: macos-latest:
bcm283x/dma.go#L1046
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
|
lint: macos-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value (compile)
|
lint: macos-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value (compile)
|
lint: macos-latest
Process completed with exit code 1.
|
lint: macos-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
lint: macos-latest
Process completed with exit code 1.
|
codeql: ubuntu-latest
line.Close() (no value) used as value
|
lint: windows-latest:
gpioioctl/gpio.go#L99
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
lint: windows-latest:
gpioioctl/gpio.go#L245
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.SetNonblock
|
lint: windows-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
lint: windows-latest:
gpioioctl/gpio.go#L408
cannot use int(chip.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
lint: windows-latest:
gpioioctl/ioctl.go#L140
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
gpioioctl/ioctl.go#L140
not enough arguments in call to syscall.Syscall
|
lint: windows-latest:
gpioioctl/ioctl.go#L149
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
gpioioctl/ioctl.go#L149
not enough arguments in call to syscall.Syscall
|
lint: windows-latest:
gpioioctl/ioctl.go#L157
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
gpioioctl/ioctl.go#L157
not enough arguments in call to syscall.Syscall
|
lint: windows-latest:
gpioioctl/gpio.go#L99
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
lint: windows-latest:
gpioioctl/gpio.go#L245
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.SetNonblock
|
lint: windows-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
lint: windows-latest:
gpioioctl/gpio.go#L408
cannot use int(chip.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
lint: windows-latest:
gpioioctl/ioctl.go#L140
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
gpioioctl/ioctl.go#L140
not enough arguments in call to syscall.Syscall
|
lint: windows-latest:
gpioioctl/ioctl.go#L149
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
gpioioctl/ioctl.go#L149
not enough arguments in call to syscall.Syscall
|
lint: windows-latest:
gpioioctl/ioctl.go#L157
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
gpioioctl/ioctl.go#L157
not enough arguments in call to syscall.Syscall
|
lint: windows-latest:
gpioioctl/gpio.go#L99
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
lint: windows-latest:
gpioioctl/gpio.go#L245
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.SetNonblock
|
lint: windows-latest:
gpioioctl/gpio.go#L402
line.Close() (no value) used as value
|
lint: windows-latest:
gpioioctl/gpio.go#L408
cannot use int(chip.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
lint: windows-latest:
gpioioctl/ioctl.go#L140
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
gpioioctl/ioctl.go#L140
not enough arguments in call to syscall.Syscall
|
lint: windows-latest:
gpioioctl/ioctl.go#L149
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
gpioioctl/ioctl.go#L149
not enough arguments in call to syscall.Syscall
|
lint: windows-latest:
gpioioctl/ioctl.go#L157
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
gpioioctl/ioctl.go#L157
not enough arguments in call to syscall.Syscall
|
lint: windows-latest
Process completed with exit code 1.
|