Skip to contentSkip to conversation

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

PATCH In review Alexander Kuleshov 2 participants 2 messages Oct 7, 2015 – Oct 8, 2015 Crypto API

lore
Share & tools
lore
#0 lore raw

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

The clocksource does not provide clocksource_register() function since f893598 commit (clocksource: Mostly kill clocksource_register()), but __clocksource_register() instead.

---
 crypto/jitterentropy-kcapi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
crypto/jitterentropy-kcapi.c +1 -1
index ceea83d..4b030df 100644
@@ -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))) {
Signature · 1 line
2.6.0
maintainer
#1 lore raw
Quoted 14 lines · Alexander Kuleshov

The clocksource does not provide clocksource_register() function since f893598 commit (clocksource: Mostly kill clocksource_register()), but __clocksource_register() instead.

---
 crypto/jitterentropy-kcapi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
crypto/jitterentropy-kcapi.c +0 -0
index ceea83d..4b030df 100644

crypto/jitterentropy-kcapi.c void jent_get_nstime(__u64 *out) · line 104

Quoted 5 lines
crypto/jitterentropy-kcapi.c +1 -1
@@ -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,

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt