Re: [PATCH] Drivers: hv: Fix return type of hv_post_message().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> > 
> > 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@xxxxxxxxx>
> 
> 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.

regards,
dan carpenter

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux