[PATCH] arch: powerpc: kvm: add signed type cast for comparation
Chen Gang
gang.chen at asianux.com
Mon Aug 5 15:50:03 EST 2013
On 08/05/2013 12:34 PM, Paul Mackerras wrote:
> 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>
>
>
Thank you very much.
--
Chen Gang
More information about the Linuxppc-dev
mailing list