From: Marc Zyngier Date: Wed, 3 Apr 2013 09:43:13 +0000 (+0100) Subject: ARM: KVM: fix KVM_CAP_ARM_SET_DEVICE_ADDR reporting X-Git-Tag: v3.9-rc8~23^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca46e10fb239d4646cb19620695473f252a6ffc7;p=pandora-kernel.git ARM: KVM: fix KVM_CAP_ARM_SET_DEVICE_ADDR reporting Commit 3401d54696f9 (KVM: ARM: Introduce KVM_ARM_SET_DEVICE_ADDR ioctl) added support for the KVM_CAP_ARM_SET_DEVICE_ADDR capability, but failed to add a break in the relevant case statement, returning the number of CPUs instead. Luckilly enough, the CONFIG_NR_CPUS=0 patch hasn't been merged yet (https://lkml.org/lkml/diff/2012/3/31/131/1), so the bug wasn't noticed. Just give it a break! Signed-off-by: Marc Zyngier Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed