All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] trivial: add missing comments in sysctl kernel names
@ 2009-10-30 20:03 Thadeu Lima de Souza Cascardo
  2009-11-04 13:31 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2009-10-30 20:03 UTC (permalink / raw)
  To: trivial; +Cc: linux-kernel, Ingo Molnar, Thadeu Lima de Souza Cascardo

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
---
 include/linux/sysctl.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 1e4743e..9a3c8f7 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -98,8 +98,8 @@ enum
 	KERN_VERSION=4,		/* string: compile time info */
 	KERN_SECUREMASK=5,	/* struct: maximum rights mask */
 	KERN_PROF=6,		/* table: profiling information */
-	KERN_NODENAME=7,
-	KERN_DOMAINNAME=8,
+	KERN_NODENAME=7,	/* string: hostname */
+	KERN_DOMAINNAME=8,	/* string: domainname */
 
 	KERN_PANIC=15,		/* int: panic timeout */
 	KERN_REALROOTDEV=16,	/* real root device to mount after initrd */
@@ -111,8 +111,8 @@ enum
 	KERN_PPC_HTABRECLAIM=25, /* turn htab reclaimation on/off on PPC */
 	KERN_PPC_ZEROPAGED=26,	/* turn idle page zeroing on/off on PPC */
 	KERN_PPC_POWERSAVE_NAP=27, /* use nap mode for power saving */
-	KERN_MODPROBE=28,
-	KERN_SG_BIG_BUFF=29,
+	KERN_MODPROBE=28,	/* string: modprobe path */
+	KERN_SG_BIG_BUFF=29,	/* int: sg driver reserved buffer size */
 	KERN_ACCT=30,		/* BSD process accounting parameters */
 	KERN_PPC_L2CR=31,	/* l2cr register on PPC */
 
@@ -159,7 +159,7 @@ enum
 	KERN_ACPI_VIDEO_FLAGS=71, /* int: flags for setting up video after ACPI sleep */
 	KERN_IA64_UNALIGNED=72, /* int: ia64 unaligned userland trap enable */
 	KERN_COMPAT_LOG=73,	/* int: print compat layer  messages */
-	KERN_MAX_LOCK_DEPTH=74,
+	KERN_MAX_LOCK_DEPTH=74, /* int: rtmutex's maximum lock depth */
 	KERN_NMI_WATCHDOG=75, /* int: enable/disable nmi watchdog */
 	KERN_PANIC_ON_NMI=76, /* int: whether we will panic on an unrecovered */
 };
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] trivial: add missing comments in sysctl kernel names
  2009-10-30 20:03 [PATCH] trivial: add missing comments in sysctl kernel names Thadeu Lima de Souza Cascardo
@ 2009-11-04 13:31 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2009-11-04 13:31 UTC (permalink / raw)
  To: Thadeu Lima de Souza Cascardo; +Cc: linux-kernel, Ingo Molnar

On Fri, 30 Oct 2009, Thadeu Lima de Souza Cascardo wrote:

> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
> ---
>  include/linux/sysctl.h |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
> index 1e4743e..9a3c8f7 100644
> --- a/include/linux/sysctl.h
> +++ b/include/linux/sysctl.h
> @@ -98,8 +98,8 @@ enum
>  	KERN_VERSION=4,		/* string: compile time info */
>  	KERN_SECUREMASK=5,	/* struct: maximum rights mask */
>  	KERN_PROF=6,		/* table: profiling information */
> -	KERN_NODENAME=7,
> -	KERN_DOMAINNAME=8,
> +	KERN_NODENAME=7,	/* string: hostname */
> +	KERN_DOMAINNAME=8,	/* string: domainname */
>  
>  	KERN_PANIC=15,		/* int: panic timeout */
>  	KERN_REALROOTDEV=16,	/* real root device to mount after initrd */
> @@ -111,8 +111,8 @@ enum
>  	KERN_PPC_HTABRECLAIM=25, /* turn htab reclaimation on/off on PPC */
>  	KERN_PPC_ZEROPAGED=26,	/* turn idle page zeroing on/off on PPC */
>  	KERN_PPC_POWERSAVE_NAP=27, /* use nap mode for power saving */
> -	KERN_MODPROBE=28,
> -	KERN_SG_BIG_BUFF=29,
> +	KERN_MODPROBE=28,	/* string: modprobe path */
> +	KERN_SG_BIG_BUFF=29,	/* int: sg driver reserved buffer size */
>  	KERN_ACCT=30,		/* BSD process accounting parameters */
>  	KERN_PPC_L2CR=31,	/* l2cr register on PPC */
>  
> @@ -159,7 +159,7 @@ enum
>  	KERN_ACPI_VIDEO_FLAGS=71, /* int: flags for setting up video after ACPI sleep */
>  	KERN_IA64_UNALIGNED=72, /* int: ia64 unaligned userland trap enable */
>  	KERN_COMPAT_LOG=73,	/* int: print compat layer  messages */
> -	KERN_MAX_LOCK_DEPTH=74,
> +	KERN_MAX_LOCK_DEPTH=74, /* int: rtmutex's maximum lock depth */
>  	KERN_NMI_WATCHDOG=75, /* int: enable/disable nmi watchdog */
>  	KERN_PANIC_ON_NMI=76, /* int: whether we will panic on an unrecovered */
>  };

This doesn't seem to be present in today's linux-next, so I have merged it 
to my queue.

Thanks,

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-04 13:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-30 20:03 [PATCH] trivial: add missing comments in sysctl kernel names Thadeu Lima de Souza Cascardo
2009-11-04 13:31 ` Jiri Kosina

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.