summaryrefslogtreecommitdiff
path: root/drivers/iommu/intel/iommu.c
diff options
context:
space:
mode:
authorTao Cui <cuitao@kylinos.cn>2025-09-18 19:44:04 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-25 11:13:46 +0200
commit1e68a5f046e9324395eaa34671aacd35b60eb7cd (patch)
treede8c88ce86d7cd62b4fa32ed52928387932c9c66 /drivers/iommu/intel/iommu.c
parent05a76baf2700e36fa7f8f549294ef61e30c7bb66 (diff)
LoongArch: Check the return value when creating kobj
commit 51adb03e6b865c0c6790f29659ff52d56742de2e upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iommu/intel/iommu.c')
0 files changed, 0 insertions, 0 deletions