From 1a8a468a152f8fcb0294207cf7fade8a017d7ea4 Mon Sep 17 00:00:00 2001 From: skrll Date: Mon, 11 Jan 2021 16:48:35 +0000 Subject: KNF --- sys/dev/ic/ahcisata_core.c | 6 +++--- sys/dev/ic/siisata.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sys/dev') 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 -__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 #include @@ -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 -__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 #include @@ -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); -- cgit