gpioioctl:Implement ioctl access to Linux GPIO chips/lines. #167
Annotations
97 errors
test: macos-latest:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
test: macos-latest:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
test: macos-latest:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
test: macos-latest
Process completed with exit code 1.
|
test: macos-latest
Process completed with exit code 1.
|
test: ubuntu-latest:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
test: ubuntu-latest:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
test: ubuntu-latest:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
test: ubuntu-latest
Process completed with exit code 1.
|
test: ubuntu-latest
Process completed with exit code 1.
|
codeql: ubuntu-latest
no required module provides package periph.io/x/conn/gpio; to add it:
|
codeql: ubuntu-latest
no required module provides package periph.io/x/conn/physic; to add it:
|
codeql: ubuntu-latest
no required module provides package periph.io/x/host/sysfs; to add it:
|
codeql: ubuntu-latest
could not import periph.io/x/conn/gpio (invalid package name: "")
|
codeql: ubuntu-latest
could not import periph.io/x/host/sysfs (invalid package name: "")
|
codeql: ubuntu-latest
could not import periph.io/x/conn/physic (invalid package name: "")
|
lint: ubuntu-latest:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
lint: ubuntu-latest:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
lint: ubuntu-latest:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
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: ubuntu-latest
Process completed with exit code 1.
|
lint: ubuntu-latest:
gpioioctl/gpio.go#L352
error strings should not be capitalized (ST1005)
|
lint: ubuntu-latest:
gpioioctl/gpio.go#L451
error strings should not be capitalized (ST1005)
|
lint: ubuntu-latest:
gpioioctl/lineset.go#L48
error strings should not be capitalized (ST1005)
|
lint: ubuntu-latest:
gpioioctl/lineset.go#L48
error strings should not end with punctuation or newlines (ST1005)
|
lint: ubuntu-latest:
gpioioctl/lineset.go#L76
should use copy(to[:], from) instead of a loop (S1001)
|
lint: ubuntu-latest:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
lint: ubuntu-latest:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
lint: ubuntu-latest:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
lint: ubuntu-latest
Process completed with exit code 1.
|
lint: ubuntu-latest:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
lint: ubuntu-latest:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
lint: ubuntu-latest:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
lint: ubuntu-latest
Process completed with exit code 1.
|
test: windows-latest:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
test: windows-latest:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
test: windows-latest:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
test: windows-latest
Process completed with exit code 1.
|
test: windows-latest
Process completed with exit code 1.
|
lint: macos-latest:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
lint: macos-latest:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
lint: macos-latest:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
lint: macos-latest
Process completed with exit code 1.
|
lint: macos-latest:
gpioioctl/gpio.go#L352
error strings should not be capitalized (ST1005)
|
lint: macos-latest:
gpioioctl/gpio.go#L451
error strings should not be capitalized (ST1005)
|
lint: macos-latest:
gpioioctl/lineset.go#L48
error strings should not be capitalized (ST1005)
|
lint: macos-latest:
gpioioctl/lineset.go#L48
error strings should not end with punctuation or newlines (ST1005)
|
lint: macos-latest:
gpioioctl/lineset.go#L76
should use copy(to[:], from) instead of a loop (S1001)
|
lint: macos-latest:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
lint: macos-latest:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
lint: macos-latest:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
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:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
lint: macos-latest:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
lint: macos-latest:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
lint: macos-latest
Process completed with exit code 1.
|
lint: macos-latest
Process completed with exit code 1.
|
lint: windows-latest:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
lint: windows-latest:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
lint: windows-latest:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
lint: windows-latest
Process completed with exit code 1.
|
lint: windows-latest
Process completed with exit code 1.
|
lint: windows-latest:
gpioioctl/gpio.go#L98
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
lint: windows-latest:
gpioioctl/gpio.go#L233
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.SetNonblock
|
lint: windows-latest:
gpioioctl/gpio.go#L396
cannot use int(chip.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
lint: windows-latest:
gpioioctl/ioctl.go#L204
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
gpioioctl/ioctl.go#L204
not enough arguments in call to syscall.Syscall
|
lint: windows-latest:
gpioioctl/ioctl.go#L213
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
gpioioctl/ioctl.go#L213
not enough arguments in call to syscall.Syscall
|
lint: windows-latest:
gpioioctl/ioctl.go#L221
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
gpioioctl/ioctl.go#L221
not enough arguments in call to syscall.Syscall
|
lint: windows-latest:
gpioioctl/ioctl.go#L230
undefined: syscall.SYS_IOCTL
|
lint: windows-latest:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
lint: windows-latest:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
lint: windows-latest:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
lint: windows-latest
Process completed with exit code 1.
|
lint: windows-latest
Process completed with exit code 1.
|