summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2013-04-29 16:21:32 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 18:28:43 -0700
commit314f8477f816940086bf6c7348c5c3cbc769b697 (patch)
tree66023cff2d9a8ea9558925bc68fef5dfec4fe1b2
parent2e744fcb90599819b43415e2e6d6a6a550248645 (diff)
downloadop-kernel-dev-314f8477f816940086bf6c7348c5c3cbc769b697.zip
op-kernel-dev-314f8477f816940086bf6c7348c5c3cbc769b697.tar.gz
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 d428445..e328a61 100644
--- a/drivers/video/uvesafb.c
+++ b/drivers/video/uvesafb.c
@@ -166,7 +166,7 @@ static int uvesafb_exec(struct uvesafb_ktask *task)
memcpy(&m->id, &uvesafb_cn_id, sizeof(m->id));
m->seq = seq;
m->len = len;
- m->ack = random32();
+ m->ack = prandom_u32();
/* uvesafb_task structure */
memcpy(m + 1, &task->t, sizeof(task->t));
OpenPOWER on IntegriCloud