Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 14:30:35 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r274381 - head/sys/dev/random
Message-ID:  <201411111430.sABEUZD4022385@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue Nov 11 14:30:35 2014
New Revision: 274381
URL: https://svnweb.freebsd.org/changeset/base/274381

Log:
  Update comment.
  
  Noted by:	dim
  Approved by:	secteam (des)
  MFC after:	4 days

Modified:
  head/sys/dev/random/ivy.c

Modified: head/sys/dev/random/ivy.c
==============================================================================
--- head/sys/dev/random/ivy.c	Tue Nov 11 13:37:28 2014	(r274380)
+++ head/sys/dev/random/ivy.c	Tue Nov 11 14:30:35 2014	(r274381)
@@ -70,7 +70,7 @@ ivy_rng_store(u_long *buf)
 	retry = RETRY_COUNT;
 	__asm __volatile(
 	    "1:\n\t"
-	    "rdrand	%1\n\t"	/* read randomness into tmp */
+	    "rdrand	%1\n\t"	/* read randomness into rndval */
 	    "jc		2f\n\t" /* CF is set on success, exit retry loop */
 	    "dec	%0\n\t" /* otherwise, retry-- */
 	    "jne	1b\n\t" /* and loop if retries are not exhausted */



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