[SCSI] mpt2sas : unique ioctl magic number
authorEric Moore <eric.moore@lsi.com>
Tue, 21 Apr 2009 21:37:20 +0000 (15:37 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:53:46 +0000 (10:53 -0500)
The current magic number is shared with mptsas driver. This to be unique to
fix issues with register_ioctls32_conversion in older kernels.  We are making
this change across all versions of the sas2.0 drivers.

Signed-off-by: Eric Moore <eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/mpt2sas/mpt2sas_ctl.h

index dbb6c0cf88891e469b9e4dd7f3e841c6e0391012..5bd7d4cfa819f7ff46137cbbf7d6809040534888 100644 (file)
@@ -50,7 +50,7 @@
 #endif
 
 #define MPT2SAS_DEV_NAME       "mpt2ctl"
-#define MPT2_MAGIC_NUMBER      'm'
+#define MPT2_MAGIC_NUMBER      'L'
 #define MPT2_IOCTL_DEFAULT_TIMEOUT (10) /* in seconds */
 
 /**
This page took 0.024805 seconds and 5 git commands to generate.