summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@mvista.com>2010-06-25 16:20:53 +0400
committerAlan Tull <alan.tull@freescale.com>2011-06-03 16:42:10 -0500
commit2910d32b8c614e90abe50462e5ba6983779d884e (patch)
tree0c174cfe140c0fac840cdeb2bf03890b583078f4 /scripts
parentd92b117c704aa5e57adbcf5dd8c3f7dc7e4f88a0 (diff)
ahci_platform: Remove unneeded ahci_driver.probe assignment
The driver is using platform_driver_probe() during initialization, so ahci_driver.probe hook is never used. But it causes the following (harmless, luckily) section mismatch: WARNING: vmlinux.o(.data+0x2fb20): Section mismatch in reference from the variable ahci_driver to the function .init.text:ahci_probe() This patch removes the ahci_driver.probe assignment, thus fixes the warning. p.s. Note that there's another patch[1] from Rene Bolldorf that tried to solve the same issue by __refdata annotation. __refdata says that this reference is actually OK, but in fact it is not OK, because dereferencing .probe() will cause problems. So the proper fix is to remove the assignment. [1] http://kerneltrap.org/mailarchive/linux-kernel/2010/3/18/4549547 Signed-off-by: Anton Vorontsov <avorontsov@mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions