]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Refactor bnxt_flash_nvram.
authorPavan Chebbi <pavan.chebbi@broadcom.com>
Sun, 13 Dec 2020 11:51:42 +0000 (06:51 -0500)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Dec 2020 02:52:17 +0000 (18:52 -0800)
commit6a2c9e0eb8bd7752a569fcde03612a12acbca677
tree1bb50752d464bd2a51520c4ae03e7e8dd35e6972
parent3d04ec2bb4094296a5cc940cf5c830588f2ebc1b
bnxt_en: Refactor bnxt_flash_nvram.

Refactor bnxt_flash_nvram() into __bnxt_flash_nvram() that takes an
additional dir_item_len parameter.  The new function will be used
in subsequent patches with the dir_item_len parameter set to create
the UPDATE directory during flashing.

Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c