Messages in this thread Patch in this message | | | From | Paul Mackerras <> | Date | Wed, 13 Feb 2002 21:17:59 +1100 (EST) | Subject | [PATCH] fix sd_find_target (v2.5.4) |
| |
This patch fixes a compile error on PPC. It's in sd_find_target, a function that returns a kdev_t. Linus, please apply.
Thanks, Paul.
diff -urN linuxppc-2.5/drivers/scsi/sd.c pmac-2.5/drivers/scsi/sd.c --- linuxppc-2.5/drivers/scsi/sd.c Wed Feb 6 02:23:12 2002 +++ pmac-2.5/drivers/scsi/sd.c Mon Feb 11 16:44:52 2002 @@ -133,7 +133,7 @@ if (dp->device != NULL && dp->device->host == host && dp->device->id == tgt) return MKDEV_SD(i); - return 0; + return NODEV; } #endif - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |