RE: [PATCH]: megaraid 2.20.4: Fixes a data corruption bug

From: Bagalkote, Sreenivas
Date: Wed Oct 06 2004 - 10:35:28 EST


James,

Here is the patch that removes the CONFIG_COMPAT.

Thank you,
Sreenivas

---

diff -Naur megaraid-compat/drivers/scsi/megaraid/megaraid_mm.c
megaraid-nocompat/drivers/scsi/megaraid/megaraid_mm.c
--- megaraid-compat/drivers/scsi/megaraid/megaraid_mm.c 2004-09-28
17:33:58.000000000 -0400
+++ megaraid-nocompat/drivers/scsi/megaraid/megaraid_mm.c 2004-10-06
10:52:58.704174728 -0400
@@ -10,7 +10,7 @@
* 2 of the License, or (at your option) any later version.
*
* FILE : megaraid_mm.c
- * Version : v2.20.2.0 (August 19 2004)
+ * Version : v2.20.2.1 (Oct 06 2004)
*
* Common management module
*/
@@ -60,7 +60,7 @@
EXPORT_SYMBOL(mraid_mm_unregister_adp);

static int majorno;
-static uint32_t drvr_ver = 0x02200100;
+static uint32_t drvr_ver = 0x02200201;

static int adapters_count_g;
static struct list_head adapters_list_g;
@@ -1120,9 +1120,7 @@

INIT_LIST_HEAD(&adapters_list_g);

-#ifdef CONFIG_COMPAT
register_ioctl32_conversion(MEGAIOCCMD, mraid_mm_compat_ioctl);
-#endif

return 0;
}
diff -Naur megaraid-compat/drivers/scsi/megaraid/megaraid_mm.h
megaraid-nocompat/drivers/scsi/megaraid/megaraid_mm.h
--- megaraid-compat/drivers/scsi/megaraid/megaraid_mm.h 2004-09-28
17:33:58.000000000 -0400
+++ megaraid-nocompat/drivers/scsi/megaraid/megaraid_mm.h 2004-10-06
11:12:53.064604344 -0400
@@ -29,9 +29,9 @@
#include "megaraid_ioctl.h"


-#define LSI_COMMON_MOD_VERSION "2.20.2.0"
+#define LSI_COMMON_MOD_VERSION "2.20.2.1"
#define LSI_COMMON_MOD_EXT_VERSION \
- "(Release Date: Thu Aug 19 09:58:33 EDT 2004)"
+ "(Release Date: Wed Oct 06 11:15:29 EDT 2004)"


#define LSI_DBGLVL dbglevel

---

>-----Original Message-----
>From: James Bottomley [mailto:James.Bottomley@xxxxxxxxxxxx]
>Sent: Tuesday, October 05, 2004 3:28 PM
>To: Bagalkote, Sreenivas
>Cc: Mukker, Atul; 'linux-kernel@xxxxxxxxxxxxxxx';
>'linux-scsi@xxxxxxxxxxxxxxx'; 'bunk@xxxxxxxxx'; 'Andrew Morton';
>'Matt_Domsch@xxxxxxxx'; Ju, Seokmann
>Subject: RE: [PATCH]: megaraid 2.20.4: Fixes a data corruption bug
>
>
>On Tue, 2004-10-05 at 14:15, Bagalkote, Sreenivas wrote:
>> The latest megaraid driver on
>bk://linux-scsi.bkbits.net/scsi-misc-2.6 still
>> has
>> CONFIG_COMPAT around register_ioctl32_conversion. Will it
>remain in the
>> source
>> or should it go?
>
>I'd like to see a patch taking it out, please.
>
>James
>
>

Attachment: megaraid-nocompat.patch
Description: Binary data