summaryrefslogtreecommitdiffstats
path: root/arch/s390/appldata
diff options
context:
space:
mode:
authorJuri Lelli <juri.lelli@arm.com>2017-05-31 18:59:26 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-03 12:10:08 +0200
commit95adb4e59263d3056d75eb385e79f9e037b5b7bc (patch)
treed3df56c41de2b395546a9e7e687b56ab8fa614e7 /arch/s390/appldata
parentDocumentation: arm: fix wrong reference number in DT definition (diff)
downloadlinux-95adb4e59263d3056d75eb385e79f9e037b5b7bc.tar.xz
linux-95adb4e59263d3056d75eb385e79f9e037b5b7bc.zip
arm: fix return value of parse_cpu_capacity
parse_cpu_capacity() has to return 0 on failure, but it currently returns 1 instead if raw_capacity kcalloc failed. Fix it (by directly returning 0). Reported-by: Morten Rasmussen <morten.rasmussen@arm.com> Fixes: 06073ee26775 ('ARM: 8621/3: parse cpu capacity-dmips-mhz from DT') Signed-off-by: Juri Lelli <juri.lelli@arm.com> Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Acked-by: Vincent Guittot <vincent.guittot@linaor.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/appldata')
0 files changed, 0 insertions, 0 deletions