diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-07-22 02:32:35 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-08-09 04:06:51 -0400 |
commit | 2fb10672c828f6e08f1dbe3690167300035adddc (patch) | |
tree | 08102cb01f04e47aefc07aefbe94cb986f63e57b /firmware/sun | |
parent | 144136dd7a25a0ca4d86685f872168502f91f337 (diff) |
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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'firmware/sun')
0 files changed, 0 insertions, 0 deletions