mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
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>
This commit is contained in:
parent
2e744fcb90
commit
314f8477f8
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user