Re: [PATCH -next 3.16 19/19] security: Convert use of typedef ctl_table to struct ctl_table

2014-04-14 Thread James Morris
On Sun, 13 Apr 2014, Joe Perches wrote:

> This typedef is unnecessary and should just be removed.
> 
> Signed-off-by: Joe Perches 
> ---
>  security/keys/sysctl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next

-- 
James Morris

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH -next 3.16 19/19] security: Convert use of typedef ctl_table to struct ctl_table

2014-04-14 Thread James Morris
On Sun, 13 Apr 2014, Joe Perches wrote:

 This typedef is unnecessary and should just be removed.
 
 Signed-off-by: Joe Perches j...@perches.com
 ---
  security/keys/sysctl.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next

-- 
James Morris
jmor...@namei.org
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH -next 3.16 19/19] security: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches 
---
 security/keys/sysctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/keys/sysctl.c b/security/keys/sysctl.c
index 8c0af08..b68faa1 100644
--- 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 = _quota_maxkeys,
-- 
1.8.1.2.459.gbcd45b4.dirty

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH -next 3.16 19/19] security: Convert use of typedef ctl_table to struct ctl_table

2014-04-13 Thread Joe Perches
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches j...@perches.com
---
 security/keys/sysctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/keys/sysctl.c b/security/keys/sysctl.c
index 8c0af08..b68faa1 100644
--- 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,
-- 
1.8.1.2.459.gbcd45b4.dirty

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/