aboutsummaryrefslogtreecommitdiff
path: root/sys/cam
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-11-03 14:03:07 +0000
committerWarner Losh <imp@FreeBSD.org>2021-11-03 14:03:07 +0000
commitdbfe5dd3f95148dd14b95025182da371029c2e90 (patch)
treeac55cae95ca1e37c875997a1deebbce16f45ba89 /sys/cam
parentb042d10cdc71ddd6ef3449261d712b05c648746e (diff)
downloadsrc-dbfe5dd3f95148dd14b95025182da371029c2e90.tar.gz
src-dbfe5dd3f95148dd14b95025182da371029c2e90.zip
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/cam_periph.c3
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);