eth: fbnic: Replace kzalloc/fbnic_fw_init_cmpl with fbnic_fw_alloc_cmpl
authorLee Trager <lee@trager.us>
Fri, 16 May 2025 16:46:41 +0000 (09:46 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 May 2025 01:12:37 +0000 (18:12 -0700)
commitfa919a30dd471364db09d7cf6a02c487352fda4e
tree17c0fc8af9a36f6fdea0c0a90fa38a20177451ae
parentd65a74d614db264374ec60a36e01e02917f7b3c5
eth: fbnic: Replace kzalloc/fbnic_fw_init_cmpl with fbnic_fw_alloc_cmpl

Replace the pattern of calling and validating kzalloc then
fbnic_fw_init_cmpl with a single function, fbnic_fw_alloc_cmpl.

Signed-off-by: Lee Trager <lee@trager.us>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250516164804.741348-1-lee@trager.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/meta/fbnic/fbnic_devlink.c
drivers/net/ethernet/meta/fbnic/fbnic_fw.c
drivers/net/ethernet/meta/fbnic/fbnic_fw.h
drivers/net/ethernet/meta/fbnic/fbnic_mac.c