aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHuazhong Tan <[email protected]>2018-01-18 10:37:34 +0800
committerDavid S. Miller <[email protected]>2018-01-22 15:36:44 -0500
commit5e89cfac2e1e74df075047ca5162a4df1aa11f63 (patch)
tree4a5ed21f57d0caa836ba5e144c6dd851cbfca2d3 /tools/perf/scripts/python/export-to-sqlite.py
parent3f1dcc6a56b080b76af2277b978fdd3ae71b12ce (diff)
net: hns: Fix for variable may be used uninitialized warnings
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 <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: Yunsheng Lin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions