aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-11-10 23:28:06 +0000
committerGreg Kroah-Hartman <[email protected]>2018-11-11 11:47:38 -0800
commitcd56a5141331abfe218d744a3d66e1788135d482 (patch)
tree42b97cb8d4b30f0a856519e29bbfa2ef3c692509 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent8561fb31a1f9594e2807681f5c0721894e367f19 (diff)
staging: mt7621-pinctrl: fix uninitialized variable ngroups
Currently the for_each_node_with_property loop us incrementing variable ngroups however it was not initialized and hence will contain garbage. Fix this by initializing ngroups to zero. Detected with static analysis with cppcheck: drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c:89]: (error) Uninitialized variable: ngroups Fixes: e12a1a6e087b ("staging: mt7621-pinctrl: refactor rt2880_pinctrl_dt_node_to_map function") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Sergio Paracuellos <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions