summaryrefslogtreecommitdiff
path: root/net/bpfilter/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-05-30 21:44:14 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-06-05 17:19:50 +0200
commit120134fe75c6b0ae38f14eb8b548ad1e5761f912 (patch)
treef23357d36ffa972d46886ffe2cd2899e6c0d9e32 /net/bpfilter/git@git.tavy.me:linux.git
parent5b6b6fc491899d583eaa75344e094796ae9b530b (diff)
slimbus: qcom-ngd-ctrl: fix OF node refcount
Platform devices created with platform_device_alloc() call platform_device_release() when the last reference to the device's kobject is dropped. This function calls of_node_put() unconditionally. This works fine for devices created with platform_device_register_full() but users of the split approach (platform_device_alloc() + platform_device_add()) must bump the reference of the of_node they assign manually. Add the missing call to of_node_get(). Cc: stable@vger.kernel.org Fixes: 917809e2280b ("slimbus: ngd: Add qcom SLIMBus NGD driver") Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org> Link: https://patch.msgid.link/20260530204421.116824-2-srini@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/bpfilter/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions