From: Paul Mackerras <paulus@samba.org>
To: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: [PATCH] fix sd_find_target (v2.5.4)
Date: Wed, 13 Feb 2002 21:17:59 +1100 (EST) [thread overview]
Message-ID: <15466.15703.799443.916646@argo.ozlabs.ibm.com> (raw)
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
reply other threads:[~2002-02-13 10:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15466.15703.799443.916646@argo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).