summaryrefslogtreecommitdiff
path: root/drivers/hv
diff options
context:
space:
mode:
authorAndy King <acking@vmware.com>2013-01-22 21:15:04 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-22 21:29:26 +0400
commit5a19b78972c39be0c5378c14c23e6c998683e80f (patch)
treebc2039eb5e3d14efc3140bc480c2a4109c0d66d8 /drivers/hv
parent74465645cdb4391b9fc95d12fd750a88012ad479 (diff)
downloadlinux-5a19b78972c39be0c5378c14c23e6c998683e80f.tar.xz
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 <dtor@vmware.com> Signed-off-by: Andy King <acking@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions