+ tpm_infineon-section-fixup.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     tpm_infineon section fixup

has been added to the -mm tree.  Its filename is

     tpm_infineon-section-fixup.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Use __devexit_p() for the exit/remove function to protect against
discarding it.

WARNING: drivers/char/tpm/tpm_infineon.o - Section mismatch: reference to .exit.text:tpm_inf_pnp_remove from .data between 'tpm_inf_pnp' (at offset 0x20) and 'tpm_inf'

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Cc: Kylene Jo Hall <kjhall@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/char/tpm/tpm_infineon.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -puN drivers/char/tpm/tpm_infineon.c~tpm_infineon-section-fixup drivers/char/tpm/tpm_infineon.c
--- devel/drivers/char/tpm/tpm_infineon.c~tpm_infineon-section-fixup	2006-04-14 22:20:31.000000000 -0700
+++ devel-akpm/drivers/char/tpm/tpm_infineon.c	2006-04-14 22:20:31.000000000 -0700
@@ -15,6 +15,7 @@
  * License.
  */
 
+#include <linux/init.h>
 #include <linux/pnp.h>
 #include "tpm.h"
 
@@ -520,7 +521,7 @@ static struct pnp_driver tpm_inf_pnp = {
 	},
 	.id_table = tpm_pnp_tbl,
 	.probe = tpm_inf_pnp_probe,
-	.remove = tpm_inf_pnp_remove,
+	.remove = __devexit_p(tpm_inf_pnp_remove),
 };
 
 static int __init init_inf(void)
_

Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxx are

origin.patch
config-exit-if-no-beginning-filename.patch
git-mtd.patch
net-drivers-fix-section-attributes-for-gcc.patch
areca-raid-linux-scsi-driver.patch
git-watchdog.patch
softmac-uses-wiress-ext.patch
bcm43-wireless-fix-printk-format-warnings.patch
bcm43-fix-config-menu-alignment.patch
x86-cpuid-and-msr-notifier-callback-section-mismatches.patch
doc-vm-hugetlbpage-update-2.patch
ipmi-fix-devinit-placement.patch
config-update-usage-help-info.patch
add-poisonh-and-patch-primary-users.patch
update-2-drivers-for-poisonh.patch
tpm_infineon-section-fixup.patch
acpi-identify-which-device-is-not-power-manageable.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux