]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hv: fix return type of hv_post_message()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 28 Mar 2012 06:58:07 +0000 (09:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 22:05:47 +0000 (15:05 -0700)
commit415f0a02adaea754dc85cde7b50707f7fbc4cf3f
tree9ee25bdf6018d8154f2cdf488b03e6e086caf366
parent0034102808e0dbbf3a2394b82b1bb40b5778de9e
hv: fix return type of hv_post_message()

This function returns negative error codes, but because the type is u16
they get truncated into positive numbers.  It doesn't look like the
callers care, but we should fix it anyway as a cleanup.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv.c
drivers/hv/hyperv_vmbus.h