diff options
| author | Pieter Van Trappen <[email protected]> | 2025-07-08 17:24:46 +0200 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2025-07-24 08:54:15 +0200 |
| commit | f08dcc55243f4af9e8edc0a1c48cfee06e6a0cd3 (patch) | |
| tree | 6f5b2ac227bed24855a62fb488893257d6ebe713 /include | |
| parent | 86786bdba34e1f3e1651de7e75e2612049d6af4c (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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
