of: overlay: pr_err from return NOTIFY_OK to overlay apply/remove
authorFrank Rowand <[email protected]>
Thu, 19 Oct 2017 21:18:27 +0000 (14:18 -0700)
committerRob Herring <[email protected]>
Thu, 19 Oct 2017 22:15:09 +0000 (17:15 -0500)
commita1d19bd4cf1febf0d5ff60243826a248bd20f1a5
treefefe9f95d45238c057c2caaac496994786c339d4
parent34ca5d76f250d4ba98c4cdc069ab79b395f9ecac
of: overlay: pr_err from return NOTIFY_OK to overlay apply/remove

A device tree overlay notifier can return NOTIFY_OK, NOTIFY_STOP,
or an embedded errno.  overlay_notify() incorrectly reports an
error for NOTIFY_OK.

Reported-by: [email protected]
Signed-off-by: Frank Rowand <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
drivers/of/overlay.c