27 Dec, 2018

1 commit


13 Dec, 2018

1 commit

  • The uts created in do_ut_overlay() is not the one used in
    cmd_ut_category(). Currently all tests are therefore called with
    uts->priv = NULL and fail.

    Using a static variable is the easiest fix here.

    Fixes: e93232e15ec9 ("test: overlay: Use cmd_ut_category()")
    Signed-off-by: Heinrich Schuchardt

    Heinrich Schuchardt
     

22 Oct, 2018

1 commit


07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

03 Dec, 2017

1 commit


06 Oct, 2017

1 commit

  • With the overlay tests now being built in sandbox Coverity has found a
    number of issues in the tests. In short, if malloc ever failed we would
    leak the previous mallocs, so we need to do the usual goto pattern to
    free each in turn. Finally, we always looked at the free()d location to
    see how many tests had failed for the return code.

    Reported-by: Coverity (CID: 167224, 167227, 167230, 167236)
    Signed-off-by: Tom Rini

    Tom Rini
     

15 Sep, 2017

2 commits


14 Oct, 2016

1 commit

  • These have now landed upstream. The naming is different and in one case the
    function signature has changed. Update the code to match.

    This applies the following upstream commits by
    Thierry Reding :

    604e61e fdt: Add functions to retrieve strings
    8702bd1 fdt: Add a function to get the index of a string
    2218387 fdt: Add a function to count strings

    Signed-off-by: Simon Glass

    Simon Glass
     

20 Aug, 2016

1 commit

  • This adds a bunch of unit tests for the "fdt apply" command.

    They've all been run successfully in the sandbox. However, as you still
    require an out-of-tree dtc with overlay support, this is disabled by
    default.

    Acked-by: Simon Glass
    Acked-by: Pantelis Antoniou
    Signed-off-by: Maxime Ripard

    Maxime Ripard