Thread (2 messages) flat view 2 messages, 2 authors, 2018-01-22

Re: [PATCH net-next] net: hns: Fix for variable may be used uninitialized warnings

From: David Miller <davem@davemloft.net>
Date: 2018-01-22 20:37:04
Also in: lkml

From: Huazhong Tan <redacted>
Date: Thu, 18 Jan 2018 10:37:34 +0800
When !CONFIG_REGMAP hns throws compiler warnings since
dsaf_read_syscon ignores the return result from regmap_read,
which allows val to be uninitialized.

Fixes: 86897c960b49 ("net: hns: add syscon operation for dsaf")
Reported-by: Jason Gunthorpe <jgg@ziepe.ca>
Signed-off-by: Huazhong Tan <redacted>
Signed-off-by: Yunsheng Lin <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