Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/jdolecek-ncqfixes]: src/sys/dev/ata don't add +1 to retry on error
details: https://anonhg.NetBSD.org/src/rev/6cfd75d676e7
branches: jdolecek-ncqfixes
changeset: 1025086:6cfd75d676e7
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Thu Oct 04 17:53:23 2018 +0000
description:
don't add +1 to retry on error
diffstat:
sys/dev/ata/wd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bb273976c514 -r 6cfd75d676e7 sys/dev/ata/wd.c
--- a/sys/dev/ata/wd.c Wed Oct 03 19:20:48 2018 +0000
+++ b/sys/dev/ata/wd.c Thu Oct 04 17:53:23 2018 +0000
@@ -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 @@
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);
Home |
Main Index |
Thread Index |
Old Index