projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
378c9c9
)
afs: Need linux/random.h
author
David Howells
<dhowells@redhat.com>
Tue, 30 Aug 2016 15:05:14 +0000
(16:05 +0100)
committer
David Howells
<dhowells@redhat.com>
Tue, 30 Aug 2016 15:07:53 +0000
(16:07 +0100)
We should #include linux/random.h to use get_random().
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/main.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/afs/main.c
b/fs/afs/main.c
index 35de0c04729fdbe357b10ddab7f870f3b560d8cc..0b187ef3b5b7a2909b6e07c2dd4cd57d9569789b 100644
(file)
--- a/
fs/afs/main.c
+++ b/
fs/afs/main.c
@@
-14,6
+14,7
@@
#include <linux/init.h>
#include <linux/completion.h>
#include <linux/sched.h>
+#include <linux/random.h>
#include "internal.h"
MODULE_DESCRIPTION("AFS Client File System");