[PATCH v2 0/3] Support character literals

Anton Staaf robotboy at google.com
Fri Sep 9 01:51:54 EST 2011


On Wed, Sep 7, 2011 at 10:03 PM, David Gibson
<david at gibson.dropbear.id.au> wrote:
> On Thu, Sep 08, 2011 at 01:18:42PM +1000, David Gibson wrote:
>> On Wed, Sep 07, 2011 at 04:15:37PM -0700, Anton Staaf wrote:
>> >     These patches add simple and escaped character literal parsing support
>> > to the dtc for cell lists and bytestrings.  The first patch refactors the
>> > string parsing code in data.c to expose the more primitive character parsing
>> > code for use in the later patches.  I have left the bytestring support in
>> > place but my hope is that it is now separate enough to be discussed
>> > independantly of the refactor and cell list changes.
>> >
>> >     Thanks,
>> >         Anton
>> >
>> > Changes in v2:
>> > - Move the refactor of data.c to a separate patch
>> > - Add support for character literals in cell lists
>> > - Merge normal and escaped literal support for bytestrings into
>> > - single patch
>>
>> Getting very close with version, although there are still some minor
>> warts I'd like you to address.
>
> Oh, and one other thing, I forgot to say yet: you need some testcases
> for the new functionality.

Yup, I'll work on these today.  I'm still working on deciphering the
testing code.  :)  Do you have a pointer to a good example of a dtc
test to work from?  I tried looking around for a bytestring or literal
test, but couldn't find anything obvious.

Thanks,
    Anton

> --
> David Gibson                    | I'll have my music baroque, and my code
> david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
>                                | _way_ _around_!
> http://www.ozlabs.org/~dgibson
>


More information about the devicetree-discuss mailing list