lkml.org 
[lkml]   [2002]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
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/
\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.126 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site