summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAlejandro Lucero <alejandro.lucero-palau@amd.com>2023-05-18 06:48:22 +0100
committerDavid S. Miller <davem@davemloft.net>2023-05-19 08:55:56 +0100
commitcfcb942863f6fce9266e1957a021e6c7295dee42 (patch)
treea69586a13d72931f26a95cfbd67242183423afce /scripts/gdb/linux/utils.py
parent35112271672ae98f45df7875244a4e33aa215e31 (diff)
sfc: fix devlink info error handling
Avoid early devlink info return if errors arise with MCDI commands executed for getting the required info from the device. The rationale is some commands can fail but later ones could still give useful data. Moreover, some nvram partitions could not be present which needs to be handled as a non error. The specific errors are reported through system messages and if any error appears, it will be reported generically through extack. Fixes 14743ddd2495 ("sfc: add devlink info support for ef100") Signed-off-by: Alejandro Lucero <alejandro.lucero-palau@amd.com> Acked-by: Martin Habets <habetsm.xilinx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions