diff options
| author | Vasundhara Volam <[email protected]> | 2020-10-12 09:10:54 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-10-12 21:27:03 +0000 |
| commit | 1388875b391689459659335a1fdbe5c5d45f3500 (patch) | |
| tree | d29b5ccf85299cb62dcea86cca0bceed65182011 /net/unix/scm.c | |
| parent | bnxt_en: Refactor bnxt_dl_info_get(). (diff) | |
| download | kernel-1388875b391689459659335a1fdbe5c5d45f3500.tar.gz kernel-1388875b391689459659335a1fdbe5c5d45f3500.zip | |
bnxt_en: Add stored FW version info to devlink info_get cb.
This patch adds FW versions stored in the flash to devlink info_get
callback. Return the correct fw.psid running version using the
newly added bp->nvm_cfg_ver.
v2:
Ensure stored pkg_name string is NULL terminated when copied to
devlink.
Return directly from the last call to bnxt_dl_info_put().
If the FW call to get stored version fails for any reason, return
success immediately to devlink without the stored versions.
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 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions
