summaryrefslogtreecommitdiff
path: root/drivers/fpga/stratixv.c
diff options
context:
space:
mode:
authorPieter Van Trappen <pieter.van.trappen@cern.ch>2025-07-08 17:24:46 +0200
committerMichal Simek <michal.simek@amd.com>2025-07-24 08:54:15 +0200
commitf08dcc55243f4af9e8edc0a1c48cfee06e6a0cd3 (patch)
tree6f5b2ac227bed24855a62fb488893257d6ebe713 /drivers/fpga/stratixv.c
parent86786bdba34e1f3e1651de7e75e2612049d6af4c (diff)
cmd: fpga: improve user feedback in case of bitstream load failure
In cmd/fpga.c, change some `debug` calls to `log_err` for important user feedback and use CMD_RET_FAILURE in favor of CMD_RET_USAGE due to its long output which hides the actual, useful return message. Change the remaining `debug` calls to `log_debug`. Remove all 'fpga:' and __func__ strings as log_* has this covered. For `do_fpga_loads`, move up the `do_fpga_check_params` call for more consistent command output; use a constant instead of multiple '5' use. In drivers/fpga/zynq*.c, change 'up to' to 'above' which corrects this confusing/wrong statement. Signed-off-by: Pieter Van Trappen <pieter.van.trappen@cern.ch> Link: https://lore.kernel.org/r/20250708152455.1214487-2-vtpieter@gmail.com Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/fpga/stratixv.c')
0 files changed, 0 insertions, 0 deletions