[PATCH] arch: powerpc: kvm: add signed type cast for comparation
Paul Mackerras
paulus at samba.org
Mon Aug 5 14:34:06 EST 2013
On Mon, Jul 22, 2013 at 02:32:35PM +0800, Chen Gang wrote:
> '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 at asianux.com>
Looks right, thanks.
Acked-by: Paul Mackerras <paulus at samba.org>
More information about the Linuxppc-dev
mailing list