gpioioctl:Implement ioctl access to Linux GPIO chips/lines. #173
Annotations
31 errors
Check: go vet shadow; shadowed variables:
gpioioctl/gpio.go#L99
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
Check: go vet shadow; shadowed variables:
gpioioctl/gpio.go#L245
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.SetNonblock
|
Check: go vet shadow; shadowed variables:
gpioioctl/gpio.go#L408
cannot use int(chip.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
Check: go vet shadow; shadowed variables:
gpioioctl/ioctl.go#L140
undefined: syscall.SYS_IOCTL
|
Check: go vet shadow; shadowed variables:
gpioioctl/ioctl.go#L140
not enough arguments in call to syscall.Syscall
|
Check: go vet shadow; shadowed variables:
gpioioctl/ioctl.go#L149
undefined: syscall.SYS_IOCTL
|
Check: go vet shadow; shadowed variables:
gpioioctl/ioctl.go#L149
not enough arguments in call to syscall.Syscall
|
Check: go vet shadow; shadowed variables:
gpioioctl/ioctl.go#L157
undefined: syscall.SYS_IOCTL
|
Check: go vet shadow; shadowed variables:
gpioioctl/ioctl.go#L157
not enough arguments in call to syscall.Syscall
|
Check: go vet shadow; shadowed variables:
gpioioctl/ioctl.go#L166
undefined: syscall.SYS_IOCTL
|
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#L140
undefined: syscall.SYS_IOCTL
|
Check: staticcheck:
gpioioctl/ioctl.go#L140
not enough arguments in call to syscall.Syscall
|
Check: staticcheck:
gpioioctl/ioctl.go#L149
undefined: syscall.SYS_IOCTL
|
Check: staticcheck:
gpioioctl/ioctl.go#L149
not enough arguments in call to syscall.Syscall
|
Check: staticcheck:
gpioioctl/ioctl.go#L157
undefined: syscall.SYS_IOCTL
|
Check: staticcheck:
gpioioctl/ioctl.go#L157
not enough arguments in call to syscall.Syscall
|
Check: staticcheck:
gpioioctl/ioctl.go#L166
undefined: syscall.SYS_IOCTL
|
Check: go vet:
gpioioctl/gpio.go#L99
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
Check: go vet:
gpioioctl/gpio.go#L245
cannot use int(line.fd) (value of type int) as syscall.Handle value in argument to syscall.SetNonblock
|
Check: go vet:
gpioioctl/gpio.go#L408
cannot use int(chip.fd) (value of type int) as syscall.Handle value in argument to syscall.Close
|
Check: go vet:
gpioioctl/ioctl.go#L140
undefined: syscall.SYS_IOCTL
|
Check: go vet:
gpioioctl/ioctl.go#L140
not enough arguments in call to syscall.Syscall
|
Check: go vet:
gpioioctl/ioctl.go#L149
undefined: syscall.SYS_IOCTL
|
Check: go vet:
gpioioctl/ioctl.go#L149
not enough arguments in call to syscall.Syscall
|
Check: go vet:
gpioioctl/ioctl.go#L157
undefined: syscall.SYS_IOCTL
|
Check: go vet:
gpioioctl/ioctl.go#L157
not enough arguments in call to syscall.Syscall
|
Check: go vet:
gpioioctl/ioctl.go#L166
undefined: syscall.SYS_IOCTL
|
Check: gosec
Process completed with exit code 1.
|
Loading