* [PATCH] intel-iommu: Fix section mismatch in dmar_parse_rmrr_atsr_dev()
@ 2011-10-26 15:45 Sergey Senozhatsky
2011-12-05 18:07 ` [tip:x86/urgent] " tip-bot for Sergey Senozhatsky
0 siblings, 1 reply; 2+ messages in thread
From: Sergey Senozhatsky @ 2011-10-26 15:45 UTC (permalink / raw)
To: Ingo Molnar
Cc: David Woodhouse, iommu, linux-kernel, Joerg Roedel,
Ohad Ben-Cohen
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().
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
---
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c
index be1953c..93cd72f 100644
--- a/drivers/iommu/intel-iommu.c
+++ b/drivers/iommu/intel-iommu.c
@@ -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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:x86/urgent] intel-iommu: Fix section mismatch in dmar_parse_rmrr_atsr_dev()
2011-10-26 15:45 [PATCH] intel-iommu: Fix section mismatch in dmar_parse_rmrr_atsr_dev() Sergey Senozhatsky
@ 2011-12-05 18:07 ` tip-bot for Sergey Senozhatsky
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Sergey Senozhatsky @ 2011-12-05 18:07 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, ohad, joerg.roedel, dwmw2,
sergey.senozhatsky, tglx, mingo
Commit-ID: c8f369ab6003a2df3cdae30f9aba641a4a606034
Gitweb: http://git.kernel.org/tip/c8f369ab6003a2df3cdae30f9aba641a4a606034
Author: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
AuthorDate: Wed, 26 Oct 2011 18:45:39 +0300
Committer: Ingo Molnar <mingo@elte.hu>
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().
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: iommu@lists.linux-foundation.org
Cc: Joerg Roedel <joerg.roedel@amd.com>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Link: http://lkml.kernel.org/r/20111026154539.GA10103@swordfish
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
drivers/iommu/intel-iommu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c
index c0c7820..a004c39 100644
--- a/drivers/iommu/intel-iommu.c
+++ b/drivers/iommu/intel-iommu.c
@@ -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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-05 18:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-26 15:45 [PATCH] intel-iommu: Fix section mismatch in dmar_parse_rmrr_atsr_dev() Sergey Senozhatsky
2011-12-05 18:07 ` [tip:x86/urgent] " tip-bot for Sergey Senozhatsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox