[PATCH] Drivers: hv: Fix return type of hv_post_message().
dan.carpenter at oracle.com
Fri Mar 30 12:20:16 UTC 2012
On Fri, Mar 30, 2012 at 02:53:13PM +0300, Dan Carpenter wrote:
> 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...
Btw, for a while a bunch of us were sending duplicate patches. So
that's why part of the reason why we CC kernel-janitors. Also I do
appreciate Walter's reviews as well.
More information about the devel