]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Add missing "__init" for rmrr_sanity_check()
authorMarco Bonelli <marco@mebeim.net>
Tue, 1 Mar 2022 02:01:57 +0000 (10:01 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 4 Mar 2022 15:46:31 +0000 (16:46 +0100)
commitde13a886b004380bf82740c0364941c784e1111a
tree2cbbce59ccc53a2ce0bcc2ec53659c9e9c06130e
parent11ff2a171ebc7b6b9e742f79fa6926461eb4a7ec
iommu/vt-d: Add missing "__init" for rmrr_sanity_check()

rmrr_sanity_check() calls arch_rmrr_sanity_check(), which is marked as
"__init". Add the annotation for rmrr_sanity_check() too. This function is
currently only called from dmar_parse_one_rmrr() which is also "__init".

Signed-off-by: Marco Bonelli <marco@mebeim.net>
Link: https://lore.kernel.org/r/20220210023141.9208-1-marco@mebeim.net
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20220301020159.633356-11-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c