Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Mar 2020 00:29:12 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r358727 - head/sys/cam
Message-ID:  <202003070029.0270TCrd081783@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat Mar  7 00:29:12 2020
New Revision: 358727
URL: https://svnweb.freebsd.org/changeset/base/358727

Log:
  Reword a comment to describe what's actually going on. We can call invalidate
  several times potentially. We just don't do anything on the second and
  subsequent calls.

Modified:
  head/sys/cam/cam_periph.c

Modified: head/sys/cam/cam_periph.c
==============================================================================
--- head/sys/cam/cam_periph.c	Fri Mar  6 23:31:09 2020	(r358726)
+++ head/sys/cam/cam_periph.c	Sat Mar  7 00:29:12 2020	(r358727)
@@ -649,7 +649,7 @@ cam_periph_invalidate(struct cam_periph *periph)
 
 	cam_periph_assert(periph, MA_OWNED);
 	/*
-	 * We only call this routine the first time a peripheral is
+	 * We only tear down the device the first time a peripheral is
 	 * invalidated.
 	 */
 	if ((periph->flags & CAM_PERIPH_INVALID) != 0)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003070029.0270TCrd081783>