summaryrefslogtreecommitdiff
path: root/target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch
blob: 6a88d2e74837df78a349a493e688e0078a8c17ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- orig/drivers/scsi/scsi_ioctl.c	2005-12-03 02:10:27.000000000 -0700
+++ linux-2.6.14/drivers/scsi/scsi_ioctl.c	2005-12-03 02:10:27.000000000 -0700
@@ -374,6 +374,7 @@
 	if (!scsi_block_when_processing_errors(sdev))
 		return -ENODEV;
 
+#if 0
 	/* Check for deprecated ioctls ... all the ioctls which don't
 	 * follow the new unique numbering scheme are deprecated */
 	switch (cmd) {
@@ -389,6 +390,7 @@
 	default:
 		break;
 	}
+#endif
 
 	switch (cmd) {
 	case SCSI_IOCTL_GET_IDLUN: