summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2020-03-22 16:40:03 -0400
committerDavid S. Miller <davem@davemloft.net>2020-03-23 21:42:48 -0700
commit0b5b561cea32d5bb1e0a82d65b755a3cb5212141 (patch)
tree26b519d00d07207fdd6c0e3e13afb08306ee1450 /tools/perf/scripts/python/export-to-sqlite.py
parent62d4073e86e62e316bea2c53e77db10418fd5dd7 (diff)
bnxt_en: Return error if bnxt_alloc_ctx_mem() fails.
The current code ignores the return value from bnxt_hwrm_func_backing_store_cfg(), causing the driver to proceed in the init path even when this vital firmware call has failed. Fix it by propagating the error code to the caller. Fixes: 1b9394e5a2ad ("bnxt_en: Configure context memory on new devices.") Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions