Thread (2 messages) 2 messages, 2 authors, 2019-09-02

Re: [PATCH] net: stmmac: dwmac-sun8i: Variable "val" in function sun8i_dwmac_set_syscon() could be uninitialized

From: David Miller <davem@davemloft.net>
Date: 2019-09-02 18:48:39
Also in: linux-arm-kernel, lkml

From: Yizhuo <redacted>
Date: Fri, 30 Aug 2019 19:00:48 -0700
In function sun8i_dwmac_set_syscon(), local variable "val" could
be uninitialized if function regmap_field_read() returns -EINVAL.
However, it will be used directly in the if statement, which
is potentially unsafe.

Signed-off-by: Yizhuo <redacted>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help