Messages in this thread | | | Date | Thu, 18 May 2023 15:50:16 -0700 | Subject | Re: [PATCH] memory: brcmstb_dpfe: fix testing array offset after use | From | Florian Fainelli <> |
| |
On 5/13/23 04:29, Krzysztof Kozlowski wrote: > Code should first check for valid value of array offset, then use it as > the index. Fixes smatch warning: > > drivers/memory/brcmstb_dpfe.c:443 __send_command() error: testing array offset 'cmd' after use. > > Fixes: 2f330caff577 ("memory: brcmstb: Add driver for DPFE") > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> -- Florian
[unhandled content-type:application/pkcs7-signature] | |