lkml.org 
[lkml]   [2008]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-04-02 18:43    [W:0.073 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site