Skip to contentSkip to conversation

mpt2sas : unique ioctl magic number

PATCH New Eric Moore 1 participant 1 message Apr 21, 2009 SCSI

lore
Share & tools
lore

Eric Moore

author
#0 lore raw

PATCH 1/10 mpt2sas : unique ioctl magic number

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.

drivers/scsi/mpt2sas/mpt2sas_ctl.h +1 -1
diff -uaprN a/drivers/scsi/mpt2sas/mpt2sas_ctl.h b/drivers/scsi/mpt2sas/mpt2sas_ctl.h
@@ -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 */
 
 /**