diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2019-08-14 20:53:56 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2019-08-14 20:53:56 +0000 |
commit | d859ddce86c37afcd3ba36a476a23173768f5c47 (patch) | |
tree | 13aaadd2a28df3133a83311541b3a044fc5f203f /sys/scsi | |
parent | 726b8d4375ccec67be33b4ad3dbcacc6268eea05 (diff) |
Whitespace nit. Add {} around body of SLIST_FOREACH().
Diffstat (limited to 'sys/scsi')
-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; |