summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-01-17 01:02:56 +0100
committerArnd Bergmann <arnd@arndb.de>2016-01-22 11:49:45 +0100
commit00affcac69c7aae6c2cfcbc71f724e1c16d0b445 (patch)
tree4a1772abe3d06e6e97e863d55f295446a89e7dcb /arch/arm/boot/dts
parent6551b8c9b76ec3cee1386dbeeab528c019fd732c (diff)
downloadblackbird-op-linux-00affcac69c7aae6c2cfcbc71f724e1c16d0b445.tar.gz
blackbird-op-linux-00affcac69c7aae6c2cfcbc71f724e1c16d0b445.zip
soc: qcom/spm: shut up uninitialized variable warning
gcc warns about the 'found' variable possibly being used uninitialized: drivers/soc/qcom/spm.c: In function 'spm_dev_probe': drivers/soc/qcom/spm.c:305:5: error: 'found' may be used uninitialized in this function [-Werror=maybe-uninitialized] However, the code is correct because we know that there is always at least one online CPU. This initializes the 'found' variable to zero before the loop so the compiler knows it does not have to warn about it. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/boot/dts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud