summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-rlock.h
diff options
context:
space:
mode:
authorVamshi Gajjela <vamshigajjela@google.com>2024-05-07 23:07:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-08 20:46:10 +0200
commiteda4923d78d634482227c0b189d9b7ca18824146 (patch)
treed8b93ac07a3cc7f58e405f849726c8accfcdfbf9 /lib/locking-selftest-rlock.h
parentdt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example (diff)
downloadlinux-eda4923d78d634482227c0b189d9b7ca18824146.tar.xz
linux-eda4923d78d634482227c0b189d9b7ca18824146.zip
spmi: hisi-spmi-controller: Do not override device identifier
'nr' member of struct spmi_controller, which serves as an identifier for the controller/bus. This value is a dynamic ID assigned in spmi_controller_alloc, and overriding it from the driver results in an ida_free error "ida_free called for id=xx which is not allocated". Signed-off-by: Vamshi Gajjela <vamshigajjela@google.com> Fixes: 70f59c90c819 ("staging: spmi: add Hikey 970 SPMI controller driver") Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20240228185116.1269-1-vamshigajjela@google.com Signed-off-by: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20240507210809.3479953-5-sboyd@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions