Module Name: src Committed By: jdolecek Date: Fri May 15 16:58:28 UTC 2020
Modified Files: src/sys/dev/ata: ata_wdc.c Log Message: whitespace (bad indent) To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/sys/dev/ata/ata_wdc.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/ata_wdc.c diff -u src/sys/dev/ata/ata_wdc.c:1.115 src/sys/dev/ata/ata_wdc.c:1.116 --- src/sys/dev/ata/ata_wdc.c:1.115 Mon Apr 13 10:49:34 2020 +++ src/sys/dev/ata/ata_wdc.c Fri May 15 16:58:28 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: ata_wdc.c,v 1.115 2020/04/13 10:49:34 jdolecek Exp $ */ +/* $NetBSD: ata_wdc.c,v 1.116 2020/05/15 16:58:28 jdolecek Exp $ */ /* * Copyright (c) 1998, 2001, 2003 Manuel Bouyer. @@ -54,7 +54,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ata_wdc.c,v 1.115 2020/04/13 10:49:34 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ata_wdc.c,v 1.116 2020/05/15 16:58:28 jdolecek Exp $"); #include "opt_ata.h" #include "opt_wdc.h" @@ -557,8 +557,8 @@ _wdc_ata_bio_start(struct ata_channel *c /* The number of blocks in the last stretch may be smaller. */ nblks = xfer->c_bcount / drvp->lp->d_secsize; if (ata_bio->nblks > nblks) { - ata_bio->nblks = nblks; - ata_bio->nbytes = xfer->c_bcount; + ata_bio->nblks = nblks; + ata_bio->nbytes = xfer->c_bcount; } } /* If this was a write and not using DMA, push the data. */