aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorAndy King <acking@vmware.com>2013-01-22 09:15:04 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-22 09:29:26 -0800
commit5a19b78972c39be0c5378c14c23e6c998683e80f (patch)
treebc2039eb5e3d14efc3140bc480c2a4109c0d66d8 /include/linux/hyperv.h
parentNTB: Fix Sparse Warnings (diff)
downloadlinux-dev-5a19b78972c39be0c5378c14c23e6c998683e80f.tar.xz
linux-dev-5a19b78972c39be0c5378c14c23e6c998683e80f.zip
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 'include/linux/hyperv.h')
0 files changed, 0 insertions, 0 deletions