Messages in this thread | | | Date | Wed, 02 Apr 2008 09:39:18 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH 2/4] x86_64 boot -v2: Add linked list of struct setup_data |
| |
Paul Jackson wrote: > Huang wrote: >> On Sat, 2008-03-29 at 23:31 -0500, Paul Jackson wrote: >>> Huang wrote: >>>> +/* setup data types */ >>>> +#define SETUP_NONE 0 >>> This define seems unused? >> I think this can prevent somebody to use 0 as type id. > > Why is it a good idea to prevent a 0 type id? >
It is usually handy to have an ID to use as ignore, or not present, and for that to be zero.
-hpa
| |