[PATCH] Drivers: hv: Fix return type of hv_post_message().
Dan Carpenter
dan.carpenter at oracle.com
Fri Mar 30 04:53:13 PDT 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...
regards,
dan carpenter
More information about the devel
mailing list