Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/spi need to forward the data pointer
details: https://anonhg.NetBSD.org/src/rev/77e73993cc30
branches: trunk
changeset: 809573:77e73993cc30
user: ryo <ryo%NetBSD.org@localhost>
date: Wed Jul 22 10:07:59 2015 +0000
description:
need to forward the data pointer
diffstat:
sys/dev/spi/spiflash.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 9e696f2b5f69 -r 77e73993cc30 sys/dev/spi/spiflash.c
--- a/sys/dev/spi/spiflash.c Wed Jul 22 09:54:42 2015 +0000
+++ b/sys/dev/spi/spiflash.c Wed Jul 22 10:07:59 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spiflash.c,v 1.17 2015/04/26 15:15:20 mlelstv Exp $ */
+/* $NetBSD: spiflash.c,v 1.18 2015/07/22 10:07:59 ryo Exp $ */
/*-
* Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spiflash.c,v 1.17 2015/04/26 15:15:20 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spiflash.c,v 1.18 2015/07/22 10:07:59 ryo Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -681,6 +681,7 @@
return rv;
}
+ data += cnt;
start += cnt;
size -= cnt;
}
Home |
Main Index |
Thread Index |
Old Index