summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorFuad Tabba <fuad.tabba@linux.dev>2026-09-07 12:29:44 +0100
committerRob Herring (Arm) <robh@kernel.org>2026-09-28 08:55:14 -0500
commit833aaa4790eee9812269b776eb8672acf1524741 (patch)
tree738665f0854f76415bed1139ea99e91f3078ec08 /rust/kernel/alloc/kvec/errors.rs
parentcbe0f79dcab1c121d767927b53a61eadf2c5b518 (diff)
of/irq: Stop the MSI walk at the first msi-parent
of_check_msi_parent() returns -EINVAL both when the msi-parent names a controller other than the one the caller filters on and when #msi-cells isn't 0, so of_msi_xlate() can't tell the two apart and carries on up the hierarchy. An ancestor's msi-map then maps the device onto a controller its own node didn't name. Hand the parsed specifier back to of_msi_xlate(), which owns the reference as it already does on the msi-map path, and end the walk at any node that declares an msi-parent. Reported-by: Sashiko <sashiko-bot@kernel.org> Closes: https://lore.kernel.org/all/20260904074800.875391F00A3F@smtp.kernel.org/ Suggested-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Link: https://lore.kernel.org/all/apqnaNmeuUjfC8Ng@red-moon/ Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev> Link: https://patch.msgid.link/20260907112944.313618-3-fuad.tabba@linux.dev Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions