OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13cebe
)
security: Convert use of typedef ctl_table to struct ctl_table
author
Joe Perches
<joe@perches.com>
Mon, 14 Apr 2014 01:55:51 +0000
(18:55 -0700)
committer
James Morris
<james.l.morris@oracle.com>
Tue, 15 Apr 2014 03:39:58 +0000
(13:39 +1000)
This typedef is unnecessary and should just be removed.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/keys/sysctl.c
patch
|
blob
|
history
diff --git
a/security/keys/sysctl.c
b/security/keys/sysctl.c
index
8c0af08
..
b68faa1
100644
(file)
--- a/
security/keys/sysctl.c
+++ b/
security/keys/sysctl.c
@@
-15,7
+15,7
@@
static const int zero, one = 1, max = INT_MAX;
-ctl_table key_sysctls[] = {
+
struct
ctl_table key_sysctls[] = {
{
.procname = "maxkeys",
.data = &key_quota_maxkeys,