On 2/22/22 21:18, Weiguo Li wrote:
When efx_nic_get_board_info() failed then function return, the memory in 'id' is not released, this leads to a memory leak.Fixes: e86b48aa46d4 ("net/sfc: add HW switch ID helpers") Signed-off-by: Weiguo Li <liw...@foxmail.com>
Reviewed-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru>