Thread (2 messages) flat view 2 messages, 2 authors, 2021-08-03

Re: [PATCH][next] brcmfmac: firmware: Fix uninitialized variable ret

From: Linus Walleij <hidden>
Date: 2021-08-03 19:14:24
Also in: kernel-janitors, lkml, netdev

On Tue, Aug 3, 2021 at 5:09 PM Colin King [off-list ref] wrote:
From: Colin Ian King <redacted>

Currently the variable ret is uninitialized and is only set if
the pointer alt_path is non-null. Fix this by ininitializing ret
to zero.

Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: 5ff013914c62 ("brcmfmac: firmware: Allow per-board firmware binaries")
Signed-off-by: Colin Ian King <redacted>
Nice catch!
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help