aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorChen Gang <[email protected]>2013-07-22 14:32:35 +0800
committerBenjamin Herrenschmidt <[email protected]>2013-08-09 18:06:51 +1000
commit2fb10672c828f6e08f1dbe3690167300035adddc (patch)
tree08102cb01f04e47aefc07aefbe94cb986f63e57b /lib/string_helpers.c
parent144136dd7a25a0ca4d86685f872168502f91f337 (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 <[email protected]> Acked-by: Paul Mackerras <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions