diff options
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2026-05-12 10:48:23 +0200 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2026-07-09 15:31:44 -0500 |
| commit | e088ffa9a00eaaaf90da74763e774ca160969c26 (patch) | |
| tree | 5108a374edf18fa3041e0d8a5bce2ca79d3a8e57 /include/linux/soc | |
| parent | 014be5698ed0645f1d5263b354c27fc3ba77b281 (diff) | |
| download | linux-next-e088ffa9a00eaaaf90da74763e774ca160969c26.tar.gz linux-next-e088ffa9a00eaaaf90da74763e774ca160969c26.zip | |
hwspinlock: propagate errno when registering single lock
hwspin_lock_register_single() always returns 0 despite checking the
result from radix_tree_insert(). Propagate the errno to make sanity
checks in callers of this function actually meaningful.
Fixes: 300bab9770e2 ("hwspinlock/core: register a bank of hwspinlocks in a single API call")
Link: https://sashiko.dev/#/patchset/20260319105947.6237-1-wsa%2Brenesas%40sang-engineering.com # review of patch 14
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20260512084856.30497-2-wsa+renesas@sang-engineering.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'include/linux/soc')
0 files changed, 0 insertions, 0 deletions
