* [PATCH 1/4] mpt2sas: unique ioctl magic number
@ 2009-04-09 9:40 Eric Moore
0 siblings, 0 replies; only message in thread
From: Eric Moore @ 2009-04-09 9:40 UTC (permalink / raw)
To: linux-scsi
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>
diff -uaprN a/drivers/scsi/mpt2sas/mpt2sas_ctl.h b/drivers/scsi/mpt2sas/mpt2sas_ctl.h
--- a/drivers/scsi/mpt2sas/mpt2sas_ctl.h 2009-04-09 16:45:18.000000000 -0600
+++ b/drivers/scsi/mpt2sas/mpt2sas_ctl.h 2009-04-09 16:45:31.000000000 -0600
@@ -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 */
/**
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-09 23:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-09 9:40 [PATCH 1/4] mpt2sas: unique ioctl magic number Eric Moore
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.