diff options
author | Tao Cui <cuitao@kylinos.cn> | 2025-09-18 14:44:04 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-09-18 14:44:04 +0300 |
commit | 51adb03e6b865c0c6790f29659ff52d56742de2e (patch) | |
tree | 43b8695034fbcf4e4dded8b762e703832c48c766 /net/unix/unix_bpf.c | |
parent | a9d13433fe17be0e867e51e71a1acd2731fbef8d (diff) | |
download | linux-51adb03e6b865c0c6790f29659ff52d56742de2e.tar.xz |
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 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions