Skip to content
Commit a6e20873 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Greg Kroah-Hartman
Browse files

uio: uio_dmem_genirq: check the return value of devm_kasprintf()



devm_kasprintf() can fail so check its return value and bail-out on no
memory.

Fixes: 52e2dc2c ("uio: Convert a few more users to using %pOFn instead of device_node.name")
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20241202181703.28546-1-brgl@bgdev.pl


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent efc7ae3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment