diff options
author | Vasundhara Volam <[email protected]> | 2020-10-12 05:10:53 -0400 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-10-12 14:27:03 -0700 |
commit | 7154917a12b20ea46b09097a22342bcdf6adac66 (patch) | |
tree | a942132a2f1e8366f333c07ccbfe6b4fd7d4edee /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 4933f6753b50367b581084927bf19efa1bcaac86 (diff) |
bnxt_en: Refactor bnxt_dl_info_get().
Add a new function bnxt_dl_info_put() to simplify the code, as there
are more stored firmware version fields to be added in the next patch.
Also, rename fw_ver variable name to ncsi_ver for better naming while
copying to devlink info_get cb.
v2:
Ensure active_pkg_name string is NULL terminated when copied to
devlink.
Return directly from the last call to bnxt_dl_info_put().
Reviewed-by: Pavan Chebbi <[email protected]>
Reviewed-by: Andy Gospodarek <[email protected]>
Signed-off-by: Vasundhara Volam <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions