diff mbox

crypto/jitterentropy-kcapi: fix a comment reflecting function name changed

Message ID 1444239494-8906-1-git-send-email-kuleshovmail@gmail.com (mailing list archive)
State Changes Requested
Delegated to: Herbert Xu
Headers show

Commit Message

Alexander Kuleshov Oct. 7, 2015, 5:38 p.m. UTC
The clocksource does not provide clocksource_register() function since
f893598 commit (clocksource: Mostly kill clocksource_register()), but
__clocksource_register() instead.

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
 crypto/jitterentropy-kcapi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Herbert Xu Oct. 8, 2015, 1:28 p.m. UTC | #1
On Wed, Oct 07, 2015 at 11:38:14PM +0600, Alexander Kuleshov wrote:
> The clocksource does not provide clocksource_register() function since
> f893598 commit (clocksource: Mostly kill clocksource_register()), but
> __clocksource_register() instead.
> 
> Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
> ---
>  crypto/jitterentropy-kcapi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/crypto/jitterentropy-kcapi.c b/crypto/jitterentropy-kcapi.c
> index ceea83d..4b030df 100644
> --- a/crypto/jitterentropy-kcapi.c
> +++ b/crypto/jitterentropy-kcapi.c
> @@ -101,7 +101,7 @@ void jent_get_nstime(__u64 *out)
>  	 *
>  	 * The list of available timers can be obtained from
>  	 * /sys/devices/system/clocksource/clocksource0/available_clocksource
> -	 * and are registered with clocksource_register()
> +	 * and are registered with __clocksource_register()

Please get rid of the reference to clocksource_register altogether.
It's simply unnecessary.

Cheers,
diff mbox

Patch

diff --git a/crypto/jitterentropy-kcapi.c b/crypto/jitterentropy-kcapi.c
index ceea83d..4b030df 100644
--- a/crypto/jitterentropy-kcapi.c
+++ b/crypto/jitterentropy-kcapi.c
@@ -101,7 +101,7 @@  void jent_get_nstime(__u64 *out)
 	 *
 	 * The list of available timers can be obtained from
 	 * /sys/devices/system/clocksource/clocksource0/available_clocksource
-	 * and are registered with clocksource_register()
+	 * and are registered with __clocksource_register()
 	 */
 	if ((0 == tmp) &&
 	   (0 == __getnstimeofday(&ts))) {