projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e744fc
)
video/uvesafb: rename random32() to prandom_u32()
author
Akinobu Mita
<
[email protected]
>
Mon, 29 Apr 2013 23:21:32 +0000
(16:21 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 30 Apr 2013 01:28:43 +0000
(18:28 -0700)
Use preferable function name which implies using a pseudo-random
number generator.
Signed-off-by: Akinobu Mita <
[email protected]
>
Cc: Michal Januszewski <
[email protected]
>
Cc: Florian Tobias Schandinat <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/uvesafb.c
patch
|
blob
|
history
diff --git
a/drivers/video/uvesafb.c
b/drivers/video/uvesafb.c
index d4284458377e80103d230524d573e10e63b2ac14..e328a61b64ba976a8906353b686e5203498d8c8c 100644
(file)
--- 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 =
random
32();
+ m->ack =
prandom_u
32();
/* uvesafb_task structure */
memcpy(m + 1, &task->t, sizeof(task->t));