diff options
| author | skrll <skrll@NetBSD.org> | 2021-01-11 16:48:35 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2021-01-11 16:48:35 +0000 |
| commit | 1a8a468a152f8fcb0294207cf7fade8a017d7ea4 (patch) | |
| tree | b294f2e88bddca1b9e633bd84ad59cea7cafb0d3 /sys/dev | |
| parent | 63228d74675694a92d7f38e9b9906f084fa01bce (diff) | |
KNF
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/ahcisata_core.c | 6 | ||||
| -rw-r--r-- | sys/dev/ic/siisata.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/ahcisata_core.c b/sys/dev/ic/ahcisata_core.c index 1deb2a0cc2d..cdd23b738b2 100644 --- a/sys/dev/ic/ahcisata_core.c +++ b/sys/dev/ic/ahcisata_core.c @@ -1,4 +1,4 @@ -/* $NetBSD: ahcisata_core.c,v 1.94 2020/12/29 08:00:48 skrll Exp $ */ +/* $NetBSD: ahcisata_core.c,v 1.95 2021/01/11 16:48:35 skrll Exp $ */ /* * Copyright (c) 2006 Manuel Bouyer. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.94 2020/12/29 08:00:48 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.95 2021/01/11 16:48:35 skrll Exp $"); #include <sys/types.h> #include <sys/malloc.h> @@ -729,7 +729,7 @@ ahci_intr_port_common(struct ata_channel *chp) * commands active before we start processing. */ - for (slot=0; slot < sc->sc_ncmds; slot++) { + for (slot = 0; slot < sc->sc_ncmds; slot++) { if ((aslots & __BIT(slot)) != 0 && (sact & __BIT(slot)) == 0) { xfer = ata_queue_hwslot_to_xfer(chp, slot); diff --git a/sys/dev/ic/siisata.c b/sys/dev/ic/siisata.c index 0f55c30229d..202b2edb500 100644 --- a/sys/dev/ic/siisata.c +++ b/sys/dev/ic/siisata.c @@ -1,4 +1,4 @@ -/* $NetBSD: siisata.c,v 1.45 2021/01/11 16:48:03 skrll Exp $ */ +/* $NetBSD: siisata.c,v 1.46 2021/01/11 16:48:35 skrll Exp $ */ /* from ahcisata_core.c */ @@ -79,7 +79,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.45 2021/01/11 16:48:03 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.46 2021/01/11 16:48:35 skrll Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -604,7 +604,7 @@ process: */ uint32_t aslots = ata_queue_active(chp); - for (int slot=0; slot < SIISATA_MAX_SLOTS; slot++) { + for (int slot = 0; slot < SIISATA_MAX_SLOTS; slot++) { if ((aslots & __BIT(slot)) != 0 && (pss & PR_PXSS(slot)) == 0) { xfer = ata_queue_hwslot_to_xfer(chp, slot); |
