Re: [PATCH 01/30] staging: unisys: serverdown variable change bool to int virthba

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

 



On Wed, 2015-02-11 at 11:36 +0300, Dan Carpenter wrote:
> On Tue, Feb 10, 2015 at 12:58:35PM -0500, Benjamin Romer wrote:
> > From: Erik Arfvidson <erik.arfvidson@xxxxxxxxxx>
> > 
> > This patch changes serverdown variable to int instead of bool
> > 
> 
> Why?  It looks like bool is more appropriate?

Hi Dan,

We had received some comments on our code that said that our BOOL
typedef wasn't acceptable, and that we really ought to be returning 0
for success and error values in failure cases. By switching these to int
we're taking a first step towards that.

-- 
Ben Romer | Software Engineer |
Virtual Systems Development 

Unisys Corporation |  2476
Swedesford Rd |  Malvern, PA 19355
|  610-648-7140



_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-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