diff options
author | Tao Cui <cuitao@kylinos.cn> | 2025-09-18 19:44:04 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-09-18 19:44:04 +0800 |
commit | 51adb03e6b865c0c6790f29659ff52d56742de2e (patch) | |
tree | 43b8695034fbcf4e4dded8b762e703832c48c766 /rust/kernel/irq/request.rs | |
parent | a9d13433fe17be0e867e51e71a1acd2731fbef8d (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