intel-iommu: Fix section mismatch in dmar_parse_rmrr_atsr_dev()
PATCH 1/1 intel-iommu: Fix section mismatch in dmar_parse_rmrr_atsr_dev()
dmar_parse_rmrr_atsr_dev() calls rmrr_parse_dev() and atsr_parse_dev() both marked as __init.
Section mismatch in reference from the function dmar_parse_rmrr_atsr_dev() to the function .init.text:dmar_parse_dev_scope()
The function dmar_parse_rmrr_atsr_dev() references
the function __init dmar_parse_dev_scope().
Section mismatch in reference from the function dmar_parse_rmrr_atsr_dev() to the function .init.text:dmar_parse_dev_scope()
The function dmar_parse_rmrr_atsr_dev() references
the function __init dmar_parse_dev_scope().
---
drivers/iommu/intel-iommu.c +1 -1
@@ -3523,7 +3523,7 @@ found:return 0 ; } -int dmar_parse_rmrr_atsr_dev (void ) +int __init dmar_parse_rmrr_atsr_dev (void ) {struct dmar_rmrr_unit *rmrr, *rmrr_n;struct dmar_atsr_unit *atsr, *atsr_n;
Commit-ID: c8f369ab6003a2df3cdae30f9aba641a4a606034 Gitweb: http://git.kernel.org/tip/c8f369ab6003a2df3cdae30f9aba641a4a606034 Author: Sergey Senozhatsky <[email protected]> AuthorDate: Wed, 26 Oct 2011 18:45:39 +0300 Committer: Ingo Molnar <[email protected]> CommitDate: Mon, 5 Dec 2011 18:22:51 +0100
intel-iommu: Fix section mismatch in dmar_parse_rmrr_atsr_dev()
dmar_parse_rmrr_atsr_dev() calls rmrr_parse_dev() and atsr_parse_dev() which are both marked as __init.
Section mismatch in reference from the function dmar_parse_rmrr_atsr_dev() to the function .init.text:dmar_parse_dev_scope() The function dmar_parse_rmrr_atsr_dev() references the function __init dmar_parse_dev_scope().
Section mismatch in reference from the function dmar_parse_rmrr_atsr_dev() to the function .init.text:dmar_parse_dev_scope() The function dmar_parse_rmrr_atsr_dev() references the function __init dmar_parse_dev_scope().
--- drivers/iommu/intel-iommu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/iommu/intel-iommu.c +1 -1
@@ -3524,7 +3524,7 @@ found:return 0 ; } -int dmar_parse_rmrr_atsr_dev (void ) +int __init dmar_parse_rmrr_atsr_dev (void ) {struct dmar_rmrr_unit *rmrr, *rmrr_n;struct dmar_atsr_unit *atsr, *atsr_n;