> > BTW, what about initializing the entire ep (fixed size of 32 bytes) > > to 0 before setting the value of ep in each init function? This is the > > simplest way to ensure that all other values are zero except for the > > intentionally set value. > > Yes, initializing the entire directory entry to 0 is simplest way. > But 48 more bytes are set to 0 (the total size of the reserved fields is > 16 bytes). > > I think both ways are acceptable. If you think initializing the entire ep > to > 0 is better, I'll update this patch. It may be more efficient to initialize the entire ep of size 32 bytes at once. I will wait for patch v2. :)