[PATCH v4 0/3] libfdt error handling fix and no_name_dedup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Although patch 1 is independent, the fix becomes more important
when using the NO_NAME_DEDUP option, so I include it in the series,
but cherry pick as you like.

The NO_NAME_DEDUP series changes for v4 are just to rebase on top
of patch 1, which fixes the test suite hang.

Thanks,
Nick

Nicholas Piggin (3):
  libfdt: Ensure fdt_add_property frees allocated name string on failure
  libfdt: Introduce fdt_create_with_flags()
  libfdt: Add FDT_CREATE_FLAG_NO_NAME_DEDUP flag that trades size for
    speed

 libfdt/fdt_rw.c       | 22 ++++++++--
 libfdt/fdt_strerror.c |  1 +
 libfdt/fdt_sw.c       | 78 ++++++++++++++++++++++++++++++-----
 libfdt/libfdt.h       | 44 +++++++++++++++++++-
 libfdt/version.lds    |  1 +
 tests/.gitignore      |  1 +
 tests/Makefile.tests  |  2 +-
 tests/run_tests.sh    | 30 ++++++++------
 tests/rw_oom.c        | 96 +++++++++++++++++++++++++++++++++++++++++++
 tests/sw_tree1.c      | 45 ++++++++++++++++----
 10 files changed, 283 insertions(+), 37 deletions(-)
 create mode 100644 tests/rw_oom.c

-- 
2.20.1




[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux