summaryrefslogtreecommitdiff
path: root/rust/kernel/irq/request.rs
diff options
context:
space:
mode:
authorTao Cui <cuitao@kylinos.cn>2025-09-18 19:44:04 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-09-18 19:44:04 +0800
commit51adb03e6b865c0c6790f29659ff52d56742de2e (patch)
tree43b8695034fbcf4e4dded8b762e703832c48c766 /rust/kernel/irq/request.rs
parenta9d13433fe17be0e867e51e71a1acd2731fbef8d (diff)
LoongArch: Check the return value when creating kobj
Add a check for the return value of kobject_create_and_add(), to ensure that the kobj allocation succeeds for later use. Cc: stable@vger.kernel.org Signed-off-by: Tao Cui <cuitao@kylinos.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'rust/kernel/irq/request.rs')
0 files changed, 0 insertions, 0 deletions