Skip to content

of: overlay: unittest: fix overlay notify error, add overlay notifier tests, fix bug revealed by new unittests

[email protected] linux-devicetree lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v13 patches 4 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3of: overlay: add entry to of_overlay_action_name[]drivers/of/overlay.c include/linux/of.h+18 -221 reply
2/3of: overlay: unittest: add tests for overlay notifiersdrivers/of/unittest-data/Makefile drivers/of/unittest-data/overlay_16.dts drivers/of/unittest-data/overlay_17.dts +4 more+283 -01 reply
3/3of: overlay: do not free changeset when of_overlay_apply returns errordrivers/of/overlay.c drivers/of/unittest.c+34 -51 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] of: overlay: unittest: fix overlay notify error, add overlay notifier tests, fix bug revealed by new unittests

From: Frank Rowand <[email protected]>

patch 1/3: fix bug in overlay notifier handling
patch 2/3: add overlay notifier unittests, expose another bug patch 3/3: fix bug exposed in patch 2, update unittests for fix

Changes since version 1:
- patch 1/1 v1 did not apply on Rob's dt/next branch, rebase on top of

    5f756a2eaa44 of: overlay: do not break notify on NOTIFY_{OK|STOP}

Frank Rowand (3):
of: overlay: add entry to of_overlay_action_name[]
of: overlay: unittest: add tests for overlay notifiers
of: overlay: do not free changeset when of_overlay_apply returns error

 drivers/of/overlay.c                    |  56 ++++---
 drivers/of/unittest-data/Makefile       |  10 ++
 drivers/of/unittest-data/overlay_16.dts |  15 ++
 drivers/of/unittest-data/overlay_17.dts |  15 ++
 drivers/of/unittest-data/overlay_18.dts |  15 ++
 drivers/of/unittest-data/overlay_19.dts |  15 ++
 drivers/of/unittest-data/overlay_20.dts |  15 ++
 drivers/of/unittest.c                   | 204 ++++++++++++++++++++++++
 include/linux/of.h                      |  13 ++
 9 files changed, 333 insertions(+), 25 deletions(-)
 create mode 100644 drivers/of/unittest-data/overlay_16.dts
 create mode 100644 drivers/of/unittest-data/overlay_17.dts
 create mode 100644 drivers/of/unittest-data/overlay_18.dts
 create mode 100644 drivers/of/unittest-data/overlay_19.dts
 create mode 100644 drivers/of/unittest-data/overlay_20.dts
Signature · 1 line
Frank Rowand <[email protected]>