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

From: Bagalkote, Sreenivas
Date: Wed Oct 06 2004 - 13:33:08 EST


James,

Forgot to update the ChangeLog.megaraid in earlier patch. This second and
final patch
takes care of that.

Thanks,
Sreenivas


---

diff -Naur a/Documentation/scsi/ChangeLog.megaraid
b/Documentation/scsi/ChangeLog.megaraid
--- a/Documentation/scsi/ChangeLog.megaraid 2004-10-06
14:07:20.927247336 -0400
+++ b/Documentation/scsi/ChangeLog.megaraid 2004-10-06
14:12:27.154693688 -0400
@@ -1,3 +1,9 @@
+Release Date : Wed Oct 06 11:15:29 EDT 2004 - Sreenivas Bagalkote
<sreenib@xxxxxxxx>
+Current Version : 2.20.4.0 (scsi module), 2.20.2.1 (cmm module)
+Older Version : 2.20.4.0 (scsi module), 2.20.2.0 (cmm module)
+
+i. Remove CONFIG_COMPAT around register_ioctl32_conversion
+
Release Date : Mon Sep 27 22:15:07 EDT 2004 - Atul Mukker
<atulm@xxxxxxxx>
Current Version : 2.20.4.0 (scsi module), 2.20.2.0 (cmm module)
Older Version : 2.20.3.1 (scsi module), 2.20.2.0 (cmm module)

---

>-----Original Message-----
>From: Bagalkote, Sreenivas [mailto:sreenib@xxxxxxxx]
>Sent: Wednesday, October 06, 2004 11:23 AM
>To: 'James Bottomley'
>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
>
>
>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-nocompat2.patch
Description: Binary data