diff options
author | 2019-08-14 20:53:55 +0000 | |
---|---|---|
committer | 2019-08-14 20:53:55 +0000 | |
commit | f976af443d9f1e340fc7b612e9b5169ea91246a7 (patch) | |
tree | 61a9dd043003a904f4f5802c31aab9824dec4c79 | |
parent | Explain how to take over syspatch builds from another machine. (diff) | |
download | wireguard-openbsd-f976af443d9f1e340fc7b612e9b5169ea91246a7.tar.xz wireguard-openbsd-f976af443d9f1e340fc7b612e9b5169ea91246a7.zip |
Whitespace nit. Add {} around body of SLIST_FOREACH().
-rw-r--r-- | sys/scsi/scsiconf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c index 1b073924cc1..59009f4ba85 100644 --- a/sys/scsi/scsiconf.c +++ b/sys/scsi/scsiconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.c,v 1.197 2019/08/14 12:56:20 krw Exp $ */ +/* $OpenBSD: scsiconf.c,v 1.198 2019/08/14 20:53:55 krw Exp $ */ /* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */ /* @@ -525,9 +525,10 @@ scsi_get_link(struct scsibus_softc *sb, int target, int lun) { struct scsi_link *link; - SLIST_FOREACH(link, &sb->sc_link_list, bus_list) + SLIST_FOREACH(link, &sb->sc_link_list, bus_list) { if (link->target == target && link->lun == lun) return (link); + } return (NULL); } @@ -909,7 +910,7 @@ scsi_probedev(struct scsibus_softc *sb, int target, int lun) */ #ifdef SCSIDEBUG if (((sb->sc_dev.dv_unit < 32) && - ((1U << sb->sc_dev.dv_unit) & scsidebug_buses)) && + ((1U << sb->sc_dev.dv_unit) & scsidebug_buses)) && ((target < 32) && ((1U << target) & scsidebug_targets)) && ((lun < 32) && ((1U << lun) & scsidebug_luns))) link->flags |= scsidebug_level; |