summaryrefslogtreecommitdiff
path: root/lib/raid/xor/arm/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-04-07 15:27:57 +0200
committerDanilo Krummrich <dakr@kernel.org>2026-04-11 15:57:54 +0200
commit8f4c13c2674d37bcbbdfc47c28ce0ca1a40a6682 (patch)
tree3a817afc2c53366da78b76848873b699afde2aca /lib/raid/xor/arm/git@git.tavy.me:linux.git
parenta2225b6e834a838ae3c93709760edc0a169eb2f2 (diff)
software node: return -ENOTCONN when referenced swnode is not registered yet
It's possible that at the time of resolving a reference to a remote software node, the node we know exists is not yet registered as a full firmware node. We currently return -ENOENT in this case but the same error code is also returned in some other cases, like the reference property with given name not existing in the property list of the local software node. It makes sense to let users know that we're dealing with an unregistered software node so that they can defer probe - the situation is somewhat similar to there existing a firmware node to which no device is bound yet - which is valid grounds for probe deferral. To that end: use -ENOTCONN to indicate the software node is "not connected". Acked-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Link: https://patch.msgid.link/20260407-swnode-unreg-retcode-v4-1-1b2f0725eb9c@oss.qualcomm.com [ Drop software node backend specifics from fwnode_property_get_reference_args() documentation. - Danilo ] Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'lib/raid/xor/arm/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions