intel-device-plugins-for-ku.../cmd/fpga_tool
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
..
fpga_tool.go fpga: fix naked return error from linter 2023-07-20 10:17:08 +03:00
README.md Documentation: Fixes broken links and standardizes headers. 2020-09-22 08:32:21 -07:00

Intel FPGA test tool

Introduction

This directory contains an FPGA test tool that can be used to locate, examine and program Intel FPGAs.

Command line and usage

The tool has the following command line arguments:

info, fpgainfo, install, list, fmeinfo, portinfo, list-fme, list-port, pr, release, assign

and the following command line options:

Usage of ./fpga_tool:
  -b string
        Path to bitstream file (GBS or AOCX)
  -d string
        Path to device node (FME or Port)
  -dry-run
        Don't write/program, just validate and log
  -force
        Force overwrite operation for installing bitstreams
  -q    Quiet mode. Only errors will be reported