Re: [PATCH 5/6] convert object type handling from a string to a number

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

 



On Tue, 27 Feb 2007, Linus Torvalds wrote:

> So to be portable, and to be safe, you really should make the error values 
> part of the enum, ie you should add a
> 
> 	OBJ_ERROR = -1,
> 
> if you want to make sure that the enum really can hold a negative number!

Fair enough.  That's what I suggested in another email, i.e. to redefine 
OBJ_BAD = -1.


Nicolas
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]