projects
/
platform
/
kernel
/
linux-rpi3.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
|
history
diff --git
a/fs/afs/main.c
b/fs/afs/main.c
index
35de0c0
..
0b187ef
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");