Module Name: src
Committed By: jdolecek
Date: Thu Oct 4 17:53:23 UTC 2018
Modified Files:
src/sys/dev/ata [jdolecek-ncqfixes]: wd.c
Log Message:
don't add +1 to retry on error
To generate a diff of this commit:
cvs rdiff -u -r1.441.2.7 -r1.441.2.8 src/sys/dev/ata/wd.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/ata/wd.c
diff -u src/sys/dev/ata/wd.c:1.441.2.7 src/sys/dev/ata/wd.c:1.441.2.8
--- src/sys/dev/ata/wd.c:1.441.2.7 Wed Oct 3 19:20:48 2018
+++ src/sys/dev/ata/wd.c Thu Oct 4 17:53:23 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: wd.c,v 1.441.2.7 2018/10/03 19:20:48 jdolecek Exp $ */
+/* $NetBSD: wd.c,v 1.441.2.8 2018/10/04 17:53:23 jdolecek Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.441.2.7 2018/10/03 19:20:48 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.441.2.8 2018/10/04 17:53:23 jdolecek Exp $");
#include "opt_ata.h"
#include "opt_wd.h"
@@ -853,7 +853,7 @@ retry2:
if (xfer->c_retries < WDIORETRIES)
printf(", xfer %"PRIxPTR", retry %d",
(intptr_t)xfer & PAGE_MASK,
- xfer->c_retries + 1);
+ xfer->c_retries);
printf("\n");
if (do_perror)
wdperror(wd, xfer);