Skip to content

gpioioctl:Implement ioctl access to Linux GPIO chips/lines. #181

gpioioctl:Implement ioctl access to Linux GPIO chips/lines.

gpioioctl:Implement ioctl access to Linux GPIO chips/lines. #181

Triggered via pull request September 12, 2024 01:31
@gsextongsexton
synchronize #59
gsexton:main
Status Success
Total duration 5m 14s
Artifacts

test.yml

on: pull_request
Matrix: codeql
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

43 errors
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: 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: 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: gpioioctl/gpio.go#L357
error strings should not be capitalized (ST1005)
lint: ubuntu-latest: gpioioctl/gpio.go#L456
error strings should not be capitalized (ST1005)
lint: ubuntu-latest: gpioioctl/lineset.go#L52
error strings should not be capitalized (ST1005)
lint: ubuntu-latest: gpioioctl/lineset.go#L52
error strings should not end with punctuation or newlines (ST1005)
lint: ubuntu-latest: gpioioctl/lineset.go#L80
should use copy(to[:], from) instead of a loop (S1001)
lint: ubuntu-latest
Process completed with exit code 1.
test: ubuntu-latest
Process completed with exit code 1.
lint: windows-latest: sysfs/gpio.go#L464
declaration of "err" shadows declaration at line 452
lint: windows-latest
Process completed with exit code 1.
lint: windows-latest: bcm283x/gpio.go#L680
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
lint: windows-latest: bcm283x/gpio.go#L676
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
lint: windows-latest: bcm283x/gpio.go#L669
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
lint: windows-latest: bcm283x/gpio.go#L659
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
lint: windows-latest: bcm283x/gpio.go#L649
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
lint: windows-latest: bcm283x/dma.go#L1119
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
lint: windows-latest: bcm283x/dma.go#L1119
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
lint: windows-latest: bcm283x/dma.go#L1114
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
lint: windows-latest: bcm283x/dma.go#L1114
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)
lint: windows-latest: bcm283x/dma.go#L1046
[CWE-190] integer overflow conversion uint64 -> uint32 (Rule:G115, Severity:HIGH, Confidence:MEDIUM)