Thread (5 messages) 5 messages, 3 authors, 2019-08-31

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

From: David Miller <davem@davemloft.net>
Date: 2019-02-09 07:01:21
Also in: lkml, netdev

From: Yizhuo <redacted>
Date: Thu,  7 Feb 2019 09:46:23 -0800
In function sun8i_dwmac_set_syscon(), local variable "val" could
be uninitialized if function regmap_read() returns -EINVAL.
However, it will be used directly in the if statement, which
is potentially unsafe.

Signed-off-by: Yizhuo <redacted>
This doesn't apply to any of my trees.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help