aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/random.c
diff options
context:
space:
mode:
authorGreg Price <price@MIT.EDU>2013-11-29 14:58:16 -0500
committerTheodore Ts'o <tytso@mit.edu>2014-03-19 22:18:50 -0400
commitf22052b2025b78475a60dbe01b66b3120f4faefa (patch)
treefca5baf7564294a9fff29dcb38aa785f9b978e95 /drivers/char/random.c
parentdfd38750db3cc17a1da3405389a81b430720c2c6 (diff)
random: fix comment on proc_do_uuid
There's only one function here now, as uuid_strategy is long gone. Also make the bit about "If accesses via ..." clearer. Signed-off-by: Greg Price <price@mit.edu> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'drivers/char/random.c')
-rw-r--r--drivers/char/random.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index b8e44e25bc36..f0eea5fdc1b7 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -1512,13 +1512,13 @@ static int max_write_thresh = INPUT_POOL_WORDS * 32;
1512static char sysctl_bootid[16]; 1512static char sysctl_bootid[16];
1513 1513
1514/* 1514/*
1515 * These functions is used to return both the bootid UUID, and random 1515 * This function is used to return both the bootid UUID, and random
1516 * UUID. The difference is in whether table->data is NULL; if it is, 1516 * UUID. The difference is in whether table->data is NULL; if it is,
1517 * then a new UUID is generated and returned to the user. 1517 * then a new UUID is generated and returned to the user.
1518 * 1518 *
1519 * If the user accesses this via the proc interface, it will be returned 1519 * If the user accesses this via the proc interface, the UUID will be
1520 * as an ASCII string in the standard UUID format. If accesses via the 1520 * returned as an ASCII string in the standard UUID format; if via the
1521 * sysctl system call, it is returned as 16 bytes of binary data. 1521 * sysctl system call, as 16 bytes of binary data.
1522 */ 1522 */
1523static int proc_do_uuid(struct ctl_table *table, int write, 1523static int proc_do_uuid(struct ctl_table *table, int write,
1524 void __user *buffer, size_t *lenp, loff_t *ppos) 1524 void __user *buffer, size_t *lenp, loff_t *ppos)