intel-device-plugins-for-ku.../pkg/fpga
Hyeongju Johannes Lee c60a3afb26 fpga: fix naked return error from linter
golangci-lint version < v1.53.0 used nakedret linter that did not check
return values in conditionals. That got changed in v1.53.0 and some
of our code starts failing because of naked returns from conditionals.

Update the code to get nakedret linter passing.

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-07-20 10:17:08 +03:00
..
bitstream lint: enable wsl check 2021-12-17 11:48:48 +02:00
devtypes_test.go lint: enable errcheck 2020-08-28 16:14:14 +03:00
devtypes.go fpga: compress fpga AF resource names 2020-04-29 11:59:50 +03:00
dfl_linux.go fpga: fix naked return error from linter 2023-07-20 10:17:08 +03:00
fpga_linux.go lint: enable wsl check 2021-12-17 11:48:48 +02:00
intel_fpga_linux.go fpga: fix naked return error from linter 2023-07-20 10:17:08 +03:00
interfaces.go Implemented SR-IOV Release/Assign ioctl 2020-09-02 18:16:53 +03:00
ioctl_linux.go lint: enable wsl check 2021-12-17 11:48:48 +02:00
pci_linux.go lint: enable wsl check 2021-12-17 11:48:48 +02:00
types.go ci: improve golangci job 2021-11-13 00:32:25 +02:00
utils.go lint: enable wsl check 2021-12-17 11:48:48 +02:00
ztypes.go fpga: rename files to make them linux-only 2020-01-29 17:17:06 +02:00