2024-01-18 11:27:53

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] wifi: brcmfmac: always check the value returned by brcmf_chip_add_core()

Dmitry Antipov <[email protected]> wrote:

> In 'brcmf_chip_recognition()', always check the value returned by
> 'brcmf_chip_add_core()' with 'IS_ERR()' and return convenient
> 'PTR_ERR()' in case of error.
>
> Fixes: cb7cf7be9eba ("brcmfmac: make chip related functions host interface independent")
> Signed-off-by: Dmitry Antipov <[email protected]>

This should be tested on a real device.

Patch set to Changes Requested.

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches