* [PATCH 3/5] Documentation: log_buf_len uses [KMG] suffix
[not found] <1298261315935@xenotime.net>
@ 2011-02-21 4:08 ` Randy Dunlap
2011-02-21 4:08 ` [PATCH 4/5] Docbook: add fs/eventfd.c and fix typos in it Randy Dunlap
2011-02-21 4:08 ` [PATCH 5/5] Docbook: correction of drm_device to drm_driver Randy Dunlap
2 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2011-02-21 4:08 UTC (permalink / raw)
To: linux-kernel; +Cc: torvalds
From: Randy Dunlap <randy.dunlap@oracle.com>
Update the "log_buf_len" description to use [KMG] syntax for the
buffer size.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
Documentation/kernel-parameters.txt | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
--- lnx-2638-rc3.orig/Documentation/kernel-parameters.txt
+++ lnx-2638-rc3/Documentation/kernel-parameters.txt
@@ -1271,10 +1271,9 @@ bytes respectively. Such letter suffixes
6 (KERN_INFO) informational
7 (KERN_DEBUG) debug-level messages
- log_buf_len=n Sets the size of the printk ring buffer, in bytes.
- Format: { n | nk | nM }
- n must be a power of two. The default size
- is set in the kernel config file.
+ log_buf_len=n[KMG] Sets the size of the printk ring buffer,
+ in bytes. n must be a power of two. The default
+ size is set in the kernel config file.
logo.nologo [FB] Disables display of the built-in Linux logo.
This may be used to provide more screen space for
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 4/5] Docbook: add fs/eventfd.c and fix typos in it
[not found] <1298261315935@xenotime.net>
2011-02-21 4:08 ` [PATCH 3/5] Documentation: log_buf_len uses [KMG] suffix Randy Dunlap
@ 2011-02-21 4:08 ` Randy Dunlap
2011-02-21 4:08 ` [PATCH 5/5] Docbook: correction of drm_device to drm_driver Randy Dunlap
2 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2011-02-21 4:08 UTC (permalink / raw)
To: linux-kernel; +Cc: torvalds, Davide Libenzi
From: Randy Dunlap <randy.dunlap@oracle.com>
Add fs/eventfd.c to filesystems docbook.
Make typo corrections in fs/eventfd.c.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
---
Documentation/DocBook/filesystems.tmpl | 5 +++++
fs/eventfd.c | 12 ++++++------
2 files changed, 11 insertions(+), 6 deletions(-)
--- lnx-2638-rc3.orig/Documentation/DocBook/filesystems.tmpl
+++ lnx-2638-rc3/Documentation/DocBook/filesystems.tmpl
@@ -82,6 +82,11 @@
</sect1>
</chapter>
+ <chapter id="fs_events">
+ <title>Events based on file descriptors</title>
+!Efs/eventfd.c
+ </chapter>
+
<chapter id="sysfs">
<title>The Filesystem for Exporting Kernel Objects</title>
!Efs/sysfs/file.c
--- lnx-2638-rc3.orig/fs/eventfd.c
+++ lnx-2638-rc3/fs/eventfd.c
@@ -99,7 +99,7 @@ EXPORT_SYMBOL_GPL(eventfd_ctx_get);
* @ctx: [in] Pointer to eventfd context.
*
* The eventfd context reference must have been previously acquired either
- * with eventfd_ctx_get() or eventfd_ctx_fdget()).
+ * with eventfd_ctx_get() or eventfd_ctx_fdget().
*/
void eventfd_ctx_put(struct eventfd_ctx *ctx)
{
@@ -146,9 +146,9 @@ static void eventfd_ctx_do_read(struct e
* eventfd_ctx_remove_wait_queue - Read the current counter and removes wait queue.
* @ctx: [in] Pointer to eventfd context.
* @wait: [in] Wait queue to be removed.
- * @cnt: [out] Pointer to the 64bit conter value.
+ * @cnt: [out] Pointer to the 64-bit counter value.
*
- * Returns zero if successful, or the following error codes:
+ * Returns %0 if successful, or the following error codes:
*
* -EAGAIN : The operation would have blocked.
*
@@ -175,11 +175,11 @@ EXPORT_SYMBOL_GPL(eventfd_ctx_remove_wai
* eventfd_ctx_read - Reads the eventfd counter or wait if it is zero.
* @ctx: [in] Pointer to eventfd context.
* @no_wait: [in] Different from zero if the operation should not block.
- * @cnt: [out] Pointer to the 64bit conter value.
+ * @cnt: [out] Pointer to the 64-bit counter value.
*
- * Returns zero if successful, or the following error codes:
+ * Returns %0 if successful, or the following error codes:
*
- * -EAGAIN : The operation would have blocked but @no_wait was nonzero.
+ * -EAGAIN : The operation would have blocked but @no_wait was non-zero.
* -ERESTARTSYS : A signal interrupted the wait operation.
*
* If @no_wait is zero, the function might sleep until the eventfd internal
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 5/5] Docbook: correction of drm_device to drm_driver
[not found] <1298261315935@xenotime.net>
2011-02-21 4:08 ` [PATCH 3/5] Documentation: log_buf_len uses [KMG] suffix Randy Dunlap
2011-02-21 4:08 ` [PATCH 4/5] Docbook: add fs/eventfd.c and fix typos in it Randy Dunlap
@ 2011-02-21 4:08 ` Randy Dunlap
2 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2011-02-21 4:08 UTC (permalink / raw)
To: linux-kernel; +Cc: torvalds, Xiao Jiang, Jesse Barnes
From: Xiao Jiang <jgq516@gmail.com>
A few wrong usages of drm_device, which should be drm_driver.
Signed-off-by: Xiao Jiang <jgq516@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
Documentation/DocBook/drm.tmpl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- lnx-2638-rc3.orig/Documentation/DocBook/drm.tmpl
+++ lnx-2638-rc3/Documentation/DocBook/drm.tmpl
@@ -73,8 +73,8 @@
services.
</para>
<para>
- The core of every DRM driver is struct drm_device. Drivers
- will typically statically initialize a drm_device structure,
+ The core of every DRM driver is struct drm_driver. Drivers
+ will typically statically initialize a drm_driver structure,
then pass it to drm_init() at load time.
</para>
@@ -84,7 +84,7 @@
<title>Driver initialization</title>
<para>
Before calling the DRM initialization routines, the driver must
- first create and fill out a struct drm_device structure.
+ first create and fill out a struct drm_driver structure.
</para>
<programlisting>
static struct drm_driver driver = {
--
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-21 4:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1298261315935@xenotime.net>
2011-02-21 4:08 ` [PATCH 3/5] Documentation: log_buf_len uses [KMG] suffix Randy Dunlap
2011-02-21 4:08 ` [PATCH 4/5] Docbook: add fs/eventfd.c and fix typos in it Randy Dunlap
2011-02-21 4:08 ` [PATCH 5/5] Docbook: correction of drm_device to drm_driver Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox