The patch titled Subject: intel-iommu: Fix __init section missmatch of dmar_parse_rmrr_atsr_dev has been added to the -mm tree. Its filename is intel-iommu-fix-__init-section-missmatch-of-dmar_parse_rmrr_atsr_dev.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Witold Baryluk <baryluk@xxxxxxxxxxxxxxxx> Subject: intel-iommu: Fix __init section missmatch of dmar_parse_rmrr_atsr_dev dmar_parse_rmrr_atsr_dev() (drivers/iommu/dmar.c) is called from dmar_dev_scope_init() (drivers/iommu/intel-iommu.c), but dmar_dev_scope_init() is annotated with __init, when dmar_parse_rmrr_atsr_dev() is not, causing full section missmatch analsysis to abort compilation. Fix problem by adding __init annotation to dmar_parse_rmrr_atsr_dev. Signed-off-by: Witold Baryluk <baryluk@xxxxxxxxxxxxxxxx> Cc: David Woodhouse <dwmw2@xxxxxxxxxxxxx> Cc: Suresh Siddha <suresh.b.siddha@xxxxxxxxx> Cc: Allen Kay <allen.m.kay@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/iommu/intel-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/iommu/intel-iommu.c~intel-iommu-fix-__init-section-missmatch-of-dmar_parse_rmrr_atsr_dev drivers/iommu/intel-iommu.c --- a/drivers/iommu/intel-iommu.c~intel-iommu-fix-__init-section-missmatch-of-dmar_parse_rmrr_atsr_dev +++ a/drivers/iommu/intel-iommu.c @@ -3542,7 +3542,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; _ Subject: Subject: intel-iommu: Fix __init section missmatch of dmar_parse_rmrr_atsr_dev Patches currently in -mm which might be from baryluk@xxxxxxxxxxxxxxxx are intel-iommu-fix-__init-section-missmatch-of-dmar_parse_rmrr_atsr_dev.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html