Patches to add basic support for the Suunto EON Steel

Linus Torvalds torvalds at linux-foundation.org
Fri Nov 21 11:51:49 PST 2014


On Fri, Nov 21, 2014 at 2:39 AM, Jef Driesen <jef at libdivecomputer.org> wrote:
>
> I have one specific question about the type_desc array. It seems it's only
> populated, but never used for anything. Is this some leftover from earlier
> prototyping, or is this something that should be kept?

It's used. See the whole entry traversal, traverse_dynamic_fields() in
particular.

This is not prototyping code.

It isn't needed for the really basic sample data (which uses the types
that always seem to be static), but all the events etc need it.

Maybe you're still working with just the basic model because you
haven't done the DC_FIELD_STRING parts yet.

                     Linus


More information about the devel mailing list