gpioioctl:Implement ioctl access to Linux GPIO chips/lines. #168
Annotations
20 errors
Check: go vet shadow; shadowed variables:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
Check: go vet shadow; shadowed variables:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
Check: go vet shadow; shadowed variables:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
Check: go vet shadow; shadowed variables
Process completed with exit code 1.
|
Check: staticcheck:
gpioioctl/gpio.go#L99
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
Check: staticcheck:
gpioioctl/gpio.go#L245
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.SetNonblock
|
Check: staticcheck:
gpioioctl/gpio.go#L408
cannot use int(chip.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
Check: staticcheck:
gpioioctl/ioctl.go#L204
undefined: syscall.SYS_IOCTL
|
Check: staticcheck:
gpioioctl/ioctl.go#L204
not enough arguments in call to syscall.Syscall
|
Check: staticcheck:
gpioioctl/ioctl.go#L213
undefined: syscall.SYS_IOCTL
|
Check: staticcheck:
gpioioctl/ioctl.go#L213
not enough arguments in call to syscall.Syscall
|
Check: staticcheck:
gpioioctl/ioctl.go#L221
undefined: syscall.SYS_IOCTL
|
Check: staticcheck:
gpioioctl/ioctl.go#L221
not enough arguments in call to syscall.Syscall
|
Check: staticcheck:
gpioioctl/ioctl.go#L230
undefined: syscall.SYS_IOCTL
|
Check: go mod tidy doesn't modify files
Process completed with exit code 1.
|
Check: gosec
Process completed with exit code 1.
|
Check: go vet:
sysfs/sysfssmoketest/benchmark.go#L13
no required module provides package periph.io/x/conn/gpio; to add it:
|
Check: go vet:
sysfs/sysfssmoketest/benchmark_gpio_support.go#L17
no required module provides package periph.io/x/conn/physic; to add it:
|
Check: go vet:
sysfs/sysfssmoketest/benchmark.go#L14
no required module provides package periph.io/x/host/sysfs; to add it:
|
Check: go vet
Process completed with exit code 1.
|
Loading