diff options
author | Warner Losh <imp@FreeBSD.org> | 2021-11-03 14:03:07 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2021-11-03 14:03:07 +0000 |
commit | dbfe5dd3f95148dd14b95025182da371029c2e90 (patch) | |
tree | ac55cae95ca1e37c875997a1deebbce16f45ba89 /sys/cam | |
parent | b042d10cdc71ddd6ef3449261d712b05c648746e (diff) | |
download | src-dbfe5dd3f95148dd14b95025182da371029c2e90.tar.gz src-dbfe5dd3f95148dd14b95025182da371029c2e90.zip |
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/cam_periph.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c index 90ddf261cb12..d8fd41d77be7 100644 --- a/sys/cam/cam_periph.c +++ b/sys/cam/cam_periph.c @@ -279,7 +279,8 @@ cam_periph_alloc(periph_ctor_t *periph_ctor, && cur_periph->unit_number < periph->unit_number) cur_periph = TAILQ_NEXT(cur_periph, unit_links); if (cur_periph != NULL) { - KASSERT(cur_periph->unit_number != periph->unit_number, ("duplicate units on periph list")); + KASSERT(cur_periph->unit_number != periph->unit_number, + ("duplicate units on periph list")); TAILQ_INSERT_BEFORE(cur_periph, periph, unit_links); } else { TAILQ_INSERT_TAIL(&(*p_drv)->units, periph, unit_links); |