From: Marin Mitov <mitov@issp.bas.bg>
To: Ashok Raj <ashok.raj@intel.com>
Cc: Shaohua Li <shaohua.li@intel.com>,
Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH]Section mismatch in 2.6.32-rc7
Date: Fri, 13 Nov 2009 18:59:02 +0200 [thread overview]
Message-ID: <200911131859.02883.mitov@issp.bas.bg> (raw)
Hi all,
The function dmar_ir_support() in drivers/pci/dmar.c references
the variable __initdata dmar_tbl. The function is used only in
intr_remapping_supported (in drivers/pci/intr_remapping.c) which
is already marked __init. Mark it also as __init.
The patch is against 2.6.32-rc7.
Signed-off-by: Marin Mitov <mitov@issp.bas.bg>
====================================================================
--- a/drivers/pci/dmar.c 2009-11-13 18:16:31.000000000 +0200
+++ b/drivers/pci/dmar.c 2009-11-13 18:18:33.000000000 +0200
@@ -1338,7 +1338,7 @@
/*
* Check interrupt remapping support in DMAR table description.
*/
-int dmar_ir_support(void)
+int __init dmar_ir_support(void)
{
struct acpi_table_dmar *dmar;
dmar = (struct acpi_table_dmar *)dmar_tbl;
reply other threads:[~2009-11-13 17:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200911131859.02883.mitov@issp.bas.bg \
--to=mitov@issp.bas.bg \
--cc=anil.s.keshavamurthy@intel.com \
--cc=ashok.raj@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=shaohua.li@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®