Re: [PATCH 03/34] brcmfmac: firmware: Support having multiple alt paths

From: Dmitry Osipenko
Date: Sun Jan 02 2022 - 01:56:59 EST


26.12.2021 18:35, Hector Martin пишет:
> struct brcmf_fw {
> struct device *dev;
> struct brcmf_fw_request *req;
> + const char **alt_paths;

> + int alt_index;
...
> +static void brcm_free_alt_fw_paths(const char **alt_paths)
> +{
> + int i;
...
> static int brcmf_fw_request_firmware(const struct firmware **fw,
> struct brcmf_fw *fwctx)
> {
> struct brcmf_fw_item *cur = &fwctx->req->items[fwctx->curpos];
> - int ret;
> + int ret, i;

unsigned int