aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2013-07-28 13:13:00 +0100
committerLinus Walleij <linus.walleij@linaro.org>2013-08-07 22:29:30 +0200
commit8a9dcc3ffed66bf6f66c45b11f34de02b0fda4a0 (patch)
tree2e6c2afe9385f595e2faea2305c3a34a1301c48a /tools/perf/scripts/python
parentdrivers/pinctrl: don't check resource with devm_ioremap_resource (diff)
downloadlinux-8a9dcc3ffed66bf6f66c45b11f34de02b0fda4a0.tar.gz
linux-8a9dcc3ffed66bf6f66c45b11f34de02b0fda4a0.zip
pinctrl: shut up a couple of pinctrl warnings
So, I notice that we get a couple of warnings from the pinctrl code: drivers/pinctrl/pinconf.c: In function 'pinconf_dbg_config_print': drivers/pinctrl/pinconf.c:433:36: warning: 'configs' may be used uninitialized in this function drivers/pinctrl/pinconf.c: In function 'pinconf_dbg_config_write': drivers/pinctrl/pinconf.c:511:36: warning: 'configs' may be used uninitialized in this function While the compiler might not be able to work out that "configs" is safe, the code doesn't lend itself very well to identifying that fact when reading it either. This can be trivially solved by a slight restructuring of the code - which also reduces the LOC. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions