Skip to contentSkip to conversation

remove __exit from mptscsih_exit()]

PATCH New Martin Hicks 1 participant 1 message Feb 5, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove __exit from mptscsih_exit()]

Here's a fix for the discarded symbol in mptscsih.c

I forgot to CC linux-scsi.

mh

----- Forwarded message from Martin Hicks <[email protected]> -----

From: Martin Hicks <[email protected]>
Subject: Re: [PATCH] remove __exit from mptscsih_exit()
Date: Thu, 5 Feb 2004 18:18:32 -0500
To: Martin Hicks <[email protected]>
Cc: James Bottomley <[email protected]>,
Andrew Morton <[email protected]>, [email protected]

Quoted 5 lines · Martin Hicks

Hi James and Andrew

I needed to apply this patch to get my kernel to link on ia64. The patch is against 2.6.2-mm1

and the patch this time...

Signature · 44 lines
Martin Hicks                Wild Open Source Inc.
[email protected]     613-266-2296

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1552  -> 1.1553 
#	drivers/message/fusion/mptscsih.c	1.32    -> 1.33   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 04/02/05	[email protected]	1.1553
# Get rid of __exit from mptscsih_exit() to get the
# kernel to link.
# --------------------------------------------
#
diff -Nru a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c
--- a/drivers/message/fusion/mptscsih.c	Thu Feb  5 18:13:39 2004
+++ b/drivers/message/fusion/mptscsih.c	Thu Feb  5 18:13:39 2004
@@ -198,7 +198,7 @@
 
 /* module entry point */
 static int  __init    mptscsih_init  (void);
-static void __exit    mptscsih_exit  (void);
+static void    mptscsih_exit  (void);
 
 static int  __devinit mptscsih_probe (struct pci_dev *, const struct pci_device_id *);
 static void __devexit mptscsih_remove(struct pci_dev *);
@@ -1985,7 +1985,7 @@
  *
  */
 static void
-__exit mptscsih_exit(void)
+mptscsih_exit(void)
 {
 	MPT_ADAPTER	*ioc;
 


----- End forwarded message -----

-- 
Martin Hicks || [email protected] || PGP/GnuPG: 0x4C7F2BEE