aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorAndy King <[email protected]>2013-01-22 09:15:04 -0800
committerGreg Kroah-Hartman <[email protected]>2013-01-22 09:29:26 -0800
commit5a19b78972c39be0c5378c14c23e6c998683e80f (patch)
treebc2039eb5e3d14efc3140bc480c2a4109c0d66d8 /lib/mpi/mpi-internal.h
parent74465645cdb4391b9fc95d12fd750a88012ad479 (diff)
VMCI: Fix broken context ID retrieval
I'm an idiot. The context ID can be a really large unsigned number, which means it'll appear negative as an int. So actually the right fix here is just to set it regardless of the returned value (but only for this particular hypercall; normally we would check it). Acked-by: Dmitry Torokhov <[email protected]> Signed-off-by: Andy King <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions