[Skiboot] [PATCH 0/3] grab upstream ccan

Nicholas Piggin npiggin at gmail.com
Thu Dec 9 01:15:55 AEDT 2021


skiboot/ccan/ has not rebased on upstream for quite a long time.
There is nothing too major requiring an update but it is a good
time to do it and clean the pipes and somewhat document the
process and local changes we carry.

Thanks,
Nick

Nicholas Piggin (3):
  ccan: switch list_add_before/after arguments to match upstream
  hw/lpc: fix compilation error
  ccan: sync to upstream ccan.git commit ca7c5a9e04f3

 ccan/README.skiboot                           |  26 +
 ccan/array_size/_info                         |   4 +-
 .../test/compile_fail-function-param.c        |   6 +-
 ccan/array_size/test/compile_fail.c           |   2 +
 ccan/array_size/test/run.c                    |   5 +-
 ccan/build_assert/_info                       |   2 +-
 ccan/build_assert/test/compile_fail-expr.c    |   2 +-
 ccan/build_assert/test/compile_fail.c         |   2 +-
 ccan/build_assert/test/compile_ok.c           |   2 +-
 .../test/run-BUILD_ASSERT_OR_ZERO.c           |   5 +-
 ccan/check_type/_info                         |   2 +-
 ccan/check_type/check_type.h                  |   2 +-
 .../check_type/test/compile_fail-check_type.c |   2 +
 .../test/compile_fail-check_type_unsigned.c   |   2 +
 .../test/compile_fail-check_types_match.c     |   1 +
 ccan/check_type/test/run.c                    |   4 +-
 ccan/config.h                                 |  27 +-
 ccan/container_of/_info                       |  14 +-
 ccan/container_of/container_of.h              |  38 +-
 .../container_of/test/compile_fail-bad-type.c |   2 +-
 ccan/container_of/test/compile_fail-types.c   |   2 +-
 .../test/compile_fail-var-types.c             |   2 +-
 ccan/container_of/test/run.c                  |  13 +-
 ccan/endian/.depends                          |   0
 ccan/endian/endian.h                          |   8 +
 ccan/endian/test/run.c                        |   5 +-
 ccan/heap/test/run.c                          |   4 +-
 ccan/list/_info                               |   6 +-
 ccan/list/list.h                              | 455 ++++++++++++++----
 ccan/list/test/run-CCAN_LIST_DEBUG.c          |  60 +++
 ccan/list/test/run-check-corrupt.c            |   9 +-
 ccan/list/test/run-check-nonconst.c           |  27 ++
 ccan/list/test/run-list_del_from-assert.c     |   6 +-
 ccan/list/test/run-list_prev-list_next.c      |  65 +++
 ccan/list/test/run-prepend_list.c             | 111 +++++
 ccan/list/test/run-single-eval.c              |   5 +-
 ccan/list/test/run.c                          | 116 ++++-
 ccan/short_types/test/run-endian.c            |   2 +-
 ccan/short_types/test/run.c                   |   2 +-
 ccan/str/_info                                |   8 +-
 ccan/str/debug.c                              | 108 +++++
 ccan/str/str.h                                |  16 +-
 ccan/str/str_debug.h                          |  30 ++
 ccan/str/test/compile_fail-STR_MAX_CHARS.c    |   2 +-
 ccan/str/test/compile_fail-isalnum.c          |   1 +
 ccan/str/test/compile_fail-isalpha.c          |   1 +
 ccan/str/test/compile_fail-isascii.c          |   1 +
 ccan/str/test/compile_fail-isblank.c          |   1 +
 ccan/str/test/compile_fail-iscntrl.c          |   1 +
 ccan/str/test/compile_fail-isdigit.c          |   1 +
 ccan/str/test/compile_fail-islower.c          |   1 +
 ccan/str/test/compile_fail-isprint.c          |   1 +
 ccan/str/test/compile_fail-ispunct.c          |   1 +
 ccan/str/test/compile_fail-isspace.c          |   1 +
 ccan/str/test/compile_fail-isupper.c          |   1 +
 ccan/str/test/compile_fail-isxdigit.c         |   1 +
 ccan/str/test/compile_fail-strchr.c           |   2 +-
 ccan/str/test/compile_fail-strrchr.c          |   2 +-
 ccan/str/test/compile_fail-strstr.c           |   2 +-
 .../test/compile_ok-STR_MAX_CHARS-static.c    |   8 +
 ccan/str/test/run-STR_MAX_CHARS.c             |  11 +-
 ccan/str/test/run.c                           |   5 +-
 core/device.c                                 |   2 +-
 core/mem_region.c                             |   4 +-
 core/timer.c                                  |   2 +-
 hw/lpc-port80h.c                              |   1 +
 hw/xscom.c                                    |   2 +-
 67 files changed, 1061 insertions(+), 204 deletions(-)
 create mode 100644 ccan/README.skiboot
 delete mode 100644 ccan/endian/.depends
 create mode 100644 ccan/list/test/run-CCAN_LIST_DEBUG.c
 create mode 100644 ccan/list/test/run-check-nonconst.c
 create mode 100644 ccan/list/test/run-list_prev-list_next.c
 create mode 100644 ccan/list/test/run-prepend_list.c
 create mode 100644 ccan/str/debug.c
 create mode 100644 ccan/str/str_debug.h
 create mode 100644 ccan/str/test/compile_ok-STR_MAX_CHARS-static.c

-- 
2.23.0



More information about the Skiboot mailing list