From: Randy Dunlap <randy.dunlap@oracle.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Help needed to fix section mismatch warnings
Date: Wed, 9 Jan 2008 22:25:42 -0800 [thread overview]
Message-ID: <20080109222542.422c90e0.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20080106140728.GA3504@uranus.ravnborg.org>
On Sun, 6 Jan 2008 15:07:28 +0100 Sam Ravnborg wrote:
> This is the current list of warnings
Sam,
Several of these are due to driver variable names not matching
the whitelisted names in modpost. I have patches for the ones
that I have identified so far. And I have patches for a few of
the others that are true section mismatch problems (total of 8
patches ready for now).
The whitelisted names will always be a (small) problem.
Can __init_refok be used in these cases.. or some other new
attribute, instead of forever adding to the whitelist or
modifying variable names?
> WARNING: vmlinux.o(.text+0x738a): Section mismatch: reference to .init.data:ebda_addr (between 'discover_ebda' and 'get_model_name')
> WARNING: vmlinux.o(.text+0x73c4): Section mismatch: reference to .init.data:ebda_size (between 'discover_ebda' and 'get_model_name')
patch ready.
> WARNING: vmlinux.o(.text+0x605e14): Section mismatch: reference to .init.text: (between 'cciss_pci_init' and 'cciss_getgeometry')
patch ready.
> WARNING: vmlinux.o(.exit.text+0xc64d): Section mismatch: reference to .init.data:_asc_def_iop_base (between 'advansys_isa_remove' and 'advansys_eisa_remove')
patch ready.
> WARNING: vmlinux.o(.data+0x7e9b8): Section mismatch: reference to .init.text:tpm_inf_pnp_probe (between 'tpm_inf_pnp' and 'cn_idx')
patch ready.
> WARNING: vmlinux.o(.data+0xd44d8): Section mismatch: reference to .init.data:prism2_plx_id_table (between 'prism2_plx_drv_id' and 'dev_info')
patch ready.
> WARNING: vmlinux.o(.data+0x149908): Section mismatch: reference to .init.text:av7110_attach (between 'av7110_extension' and 'ir_protocol')
patch ready.
> WARNING: vmlinux.o(.data+0x1b3ce0): Section mismatch: reference to .init.text:megaraid_probe_one (between 'megaraid_pci_driver_g' and 'class_device_attr_megaraid_mbox_app_hndl')
patch ready.
> WARNING: vmlinux.o(.text+0xb0c71d): Section mismatch: reference to .exit.text: (between 'qla2xxx_pci_error_detected' and 'qla2xxx_pci_mmio_enabled')
patch ready.
> WARNING: vmlinux.o(.text+0xb4ff4b): Section mismatch: reference to .exit.text: (between 'sym2_io_error_detected' and 'sym2_io_slot_dump')
Patch sent by /me on 2007.OCT.29 to linux-scsi & akpm.
I will send the ready patches sometime on THU 2008.JAN.10.
---
~Randy
next prev parent reply other threads:[~2008-01-10 6:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-06 14:07 Help needed to fix section mismatch warnings Sam Ravnborg
2008-01-10 6:25 ` Randy Dunlap [this message]
2008-01-10 19:19 ` Randy Dunlap
2008-01-11 18:59 ` Sam Ravnborg
2008-01-10 19:38 ` Sam Ravnborg
2008-01-19 19:52 ` Randy Dunlap
2008-01-19 21:22 ` Sam Ravnborg
2008-01-19 21:45 ` Sam Ravnborg
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=20080109222542.422c90e0.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.