]> git.baikalelectronics.ru Git - kernel.git/commit
of: overlay: do not break notify on NOTIFY_{OK|STOP}
authorNuno Sá <nuno.sa@analog.com>
Wed, 20 Apr 2022 13:02:05 +0000 (15:02 +0200)
committerRob Herring <robh@kernel.org>
Mon, 25 Apr 2022 13:50:54 +0000 (08:50 -0500)
commitddd06726ebb74ef7e94eaeef475f247ecfa251f3
treec91a306fe47552d867d62d2446eb9594015bfe9b
parentd092aba1d3bbe10112dcc0435b4518b42d199ffb
of: overlay: do not break notify on NOTIFY_{OK|STOP}

We should not break overlay notifications on NOTIFY_{OK|STOP}
otherwise we might break on the first fragment. We should only stop
notifications if a *real* errno is returned by one of the listeners.

Fixes: 3155eb8dd930e ("of: overlay: pr_err from return NOTIFY_OK to overlay apply/remove")
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220420130205.89435-1-nuno.sa@analog.com
drivers/of/overlay.c