Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/dev/lib/libscsitest For the MMC GET_CONFIGURATION c...
details: https://anonhg.NetBSD.org/src/rev/d721be7e265d
branches: trunk
changeset: 785475:d721be7e265d
user: martin <martin%NetBSD.org@localhost>
date: Fri Mar 15 16:14:12 2013 +0000
description:
For the MMC GET_CONFIGURATION command, return a nulled feature header.
Fixes PR kern/47646.
diffstat:
sys/rump/dev/lib/libscsitest/scsitest.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 53048bcb490d -r d721be7e265d sys/rump/dev/lib/libscsitest/scsitest.c
--- a/sys/rump/dev/lib/libscsitest/scsitest.c Fri Mar 15 14:27:41 2013 +0000
+++ b/sys/rump/dev/lib/libscsitest/scsitest.c Fri Mar 15 16:14:12 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsitest.c,v 1.5 2012/10/27 17:18:40 chs Exp $ */
+/* $NetBSD: scsitest.c,v 1.6 2013/03/15 16:14:12 martin Exp $ */
/*
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scsitest.c,v 1.5 2012/10/27 17:18:40 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scsitest.c,v 1.6 2013/03/15 16:14:12 martin Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -176,7 +176,7 @@
break;
}
case GET_CONFIGURATION: {
-
+ memset(xs->data, 0, sizeof(struct scsipi_get_conf_data));
break;
}
case SCSI_READ_6_COMMAND: {
Home |
Main Index |
Thread Index |
Old Index