diff options
author | Edwin Peer <[email protected]> | 2020-10-04 15:22:52 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-10-04 14:41:05 -0700 |
commit | 3e9ec2bb932d746b0ae65aba79697457e7c83f90 (patch) | |
tree | 22f73818bbd1daa605ba7165c4973dd452c48e4e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 424174f14eeccfea747d9f078a41bd393ffe0bde (diff) |
bnxt_en: refactor bnxt_alloc_fw_health()
The allocator for the firmware health structure conflates allocation
and capability checks, limiting the reusability of the code. This patch
separates out the capability check and disablement and improves the
warning message to better describe the consequences of an allocation
failure.
Signed-off-by: Edwin Peer <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions