aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2013-04-29 19:21:32 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 21:28:43 -0400
commit314f8477f816940086bf6c7348c5c3cbc769b697 (patch)
tree66023cff2d9a8ea9558925bc68fef5dfec4fe1b2
parent2e744fcb90599819b43415e2e6d6a6a550248645 (diff)
video/uvesafb: rename random32() to prandom_u32()
Use preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Michal Januszewski <spock@gentoo.org> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/video/uvesafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c
index d4284458377e..e328a61b64ba 100644
--- a/drivers/video/uvesafb.c
+++ b/drivers/video/uvesafb.c
@@ -166,7 +166,7 @@ static int uvesafb_exec(struct uvesafb_ktask *task)
166 memcpy(&m->id, &uvesafb_cn_id, sizeof(m->id)); 166 memcpy(&m->id, &uvesafb_cn_id, sizeof(m->id));
167 m->seq = seq; 167 m->seq = seq;
168 m->len = len; 168 m->len = len;
169 m->ack = random32(); 169 m->ack = prandom_u32();
170 170
171 /* uvesafb_task structure */ 171 /* uvesafb_task structure */
172 memcpy(m + 1, &task->t, sizeof(task->t)); 172 memcpy(m + 1, &task->t, sizeof(task->t));