diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-07-22 02:32:35 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-08-28 10:23:35 -0400 |
commit | 5d226ae56f4dee608099daa599d9df0d12e3b006 (patch) | |
tree | eca64013d43452c7ac6f32f371bf1d09420e78ee /arch/powerpc/kvm/book3s_pr.c | |
parent | 87916442bd0ac0aaabcca4f7fcd7eb3d8bef0d34 (diff) |
arch: powerpc: kvm: add signed type cast for comparation
'rmls' is 'unsigned long', lpcr_rmls() will return negative number when
failure occurs, so it need a type cast for comparing.
'lpid' is 'unsigned long', kvmppc_alloc_lpid() return negative number
when failure occurs, so it need a type cast for comparing.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/book3s_pr.c')
0 files changed, 0 insertions, 0 deletions