Forráskód Böngészése

[SCSI] 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.

Signed-off-by: Eric Moore <eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Eric Moore 16 éve
szülő
commit
fd01825c70
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      drivers/scsi/mpt2sas/mpt2sas_ctl.h

+ 1 - 1
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 */
 
 /**