Skip to content
Commit c8e51a01 authored by Wang Hai's avatar Wang Hai Committed by Tony Nguyen
Browse files

ice: fix error return code in ice_get_recp_frm_fw()



Return error code if devm_kmemdup() fails in ice_get_recp_frm_fw()

Fixes: fd2a6b71 ("ice: create advanced switch recipe")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWang Hai <wanghai38@huawei.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent 370764e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment