Module Name: src
Committed By: ryo
Date: Wed Jul 22 10:07:59 UTC 2015
Modified Files:
src/sys/dev/spi: spiflash.c
Log Message:
need to forward the data pointer
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/spi/spiflash.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/spi/spiflash.c
diff -u src/sys/dev/spi/spiflash.c:1.17 src/sys/dev/spi/spiflash.c:1.18
--- src/sys/dev/spi/spiflash.c:1.17 Sun Apr 26 15:15:20 2015
+++ src/sys/dev/spi/spiflash.c Wed Jul 22 10:07:59 2015
@@ -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 @@ spiflash_common_read(spiflash_handle_t s
return rv;
}
+ data += cnt;
start += cnt;
size -= cnt;
}