[Lsb-infrastructure] devchk (was: should Types have a Generic entry?)

Wichmann, Mats D mats.d.wichmann at intel.com
Fri Jul 6 06:23:47 PDT 2007


Denis Silakov wrote:
> Wichmann, Mats D wrote:
>> so, at least as things stand at the moment, a generic type in
>> addition to arch-specific types seems "more correct", at least
>> if that type is used in function prototypes, right?
>> 
> Yes, that's true.


So looking a little further afield, it looks like devchk
is no longer getting the structure member size/offset
checks generated and the structure size check (except for
a generic version).   I'm not remembering if this was
intentional or if it's something that broke in the
transition away from ArchTypeMem....

I've looked at sys_stat_h.c, sys_statfs_h.c and
sys_statvfs_h.c; all three have some emtpy architecture
#if defined sections, but no code for the corresponding
structures excepting that there's arch-generic code
to check the size of statfs. Of the six structures
(stat, statfs, statvfs and corresponding *64), only
the statfs* ones have a generic entry in addition to
the arch entries, which matches the discussion so
far on the topic. 




More information about the Lsb-infrastructure mailing list