Re: [PATCH v3 06/12] of: overlay: detect cases where device tree may become corrupt

2017-10-20 Thread Alan Tull
On Tue, Oct 17, 2017 at 6:36 PM, wrote: > static int overlay_notify(struct overlay_changeset *ovcs, > enum of_overlay_notify_action action) > { > @@ -86,8 +109,14 @@ static int overlay_notify(struct overlay_changeset *ovcs, > > ret = blocking_notifier_call_chain

Re: [PATCH v3 06/12] of: overlay: detect cases where device tree may become corrupt

2017-10-20 Thread Frank Rowand
On 10/19/17 12:04, Alan Tull wrote: > On Tue, Oct 17, 2017 at 6:36 PM, wrote: > >> static int overlay_notify(struct overlay_changeset *ovcs, >> enum of_overlay_notify_action action) >> { >> @@ -86,8 +109,14 @@ static int overlay_notify(struct overlay_changeset *ovcs, >> >>

[PATCH v3 06/12] of: overlay: detect cases where device tree may become corrupt

2017-10-18 Thread frowand . list
From: Frank Rowand When an attempt to apply an overlay changeset fails, an effort is made to revert any partial application of the changeset. When an attempt to remove an overlay changeset fails, an effort is made to re-apply any partial reversion of the changeset. The existing code does not che