mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] crypto/jitterentropy-kcapi: fix a comment reflecting function name changed
@ 2015-10-07 17:38 Alexander Kuleshov
  2015-10-08 13:28 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Kuleshov @ 2015-10-07 17:38 UTC (permalink / raw)
  To: Herbert Xu
  Cc: David S . Miller, linux-crypto, linux-kernel, Alexander Kuleshov

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()
 	 */
 	if ((0 == tmp) &&
 	   (0 == __getnstimeofday(&ts))) {
-- 
2.6.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] crypto/jitterentropy-kcapi: fix a comment reflecting function name changed
  2015-10-07 17:38 [PATCH] crypto/jitterentropy-kcapi: fix a comment reflecting function name changed Alexander Kuleshov
@ 2015-10-08 13:28 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2015-10-08 13:28 UTC (permalink / raw)
  To: Alexander Kuleshov; +Cc: David S . Miller, linux-crypto, linux-kernel

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,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-08 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-07 17:38 [PATCH] crypto/jitterentropy-kcapi: fix a comment reflecting function name changed Alexander Kuleshov
2015-10-08 13:28 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome