Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci fix the status return.
details: https://anonhg.NetBSD.org/src/rev/4abd12958207
branches: trunk
changeset: 341328:4abd12958207
user: christos <christos%NetBSD.org@localhost>
date: Sat Oct 31 00:41:19 2015 +0000
description:
fix the status return.
diffstat:
sys/dev/pci/vioscsi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 23b229269f53 -r 4abd12958207 sys/dev/pci/vioscsi.c
--- a/sys/dev/pci/vioscsi.c Fri Oct 30 23:45:31 2015 +0000
+++ b/sys/dev/pci/vioscsi.c Sat Oct 31 00:41:19 2015 +0000
@@ -17,7 +17,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.4 2015/10/30 21:59:25 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.5 2015/10/31 00:41:19 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -385,11 +385,11 @@
DPRINTF(("%s: stuffup: %d\n", __func__, vr->vr_res.response));
xs->error = XS_DRIVER_STUFFUP;
xs->resid = xs->datalen;
- xs->status = vr->vr_res.status;
- xs->resid = vr->vr_res.residual;
break;
}
+ xs->status = vr->vr_res.status;
+ xs->resid = vr->vr_res.residual;
DPRINTF(("%s: done %d, %d, %d\n", __func__,
xs->error, xs->status, xs->resid));
Home |
Main Index |
Thread Index |
Old Index