[PATCH] Drivers: hv: Fix return type of hv_post_message().
dan.carpenter at oracle.com
Fri Mar 30 11:53:13 UTC 2012
On Fri, Mar 30, 2012 at 05:08:33PM +0530, santosh nayak wrote:
> From: Santosh Nayak <santoshprasadnayak at gmail.com>
> On failed memory allocation 'hv_post_message()' returns -ENOMEM.
> As return type of this function is 'u16', -ENOMEM becomes 65524.
> Change the return type from 'u16' to 'int'.
> Signed-off-by: Santosh Nayak <santoshprasadnayak at gmail.com>
Too late. :P I just fixed this one two days ago...
More information about the devel