aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/relay.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-02-10 04:45:59 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 13:51:32 -0500
commit72fd4a35a824331d7a0f4168d7576502d95d34b3 (patch)
treebe27880bc36b7f62e8044a88b8744a35c5317714 /kernel/relay.c
parent262086cf5b5343c2b81c97b1c606058e921859df (diff)
[PATCH] Numerous fixes to kernel-doc info in source files.
A variety of (mostly) innocuous fixes to the embedded kernel-doc content in source files, including: * make multi-line initial descriptions single line * denote some function names, constants and structs as such * change erroneous opening '/*' to '/**' in a few places * reword some text for clarity Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Cc: "Randy.Dunlap" <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/relay.c')
-rw-r--r--kernel/relay.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/relay.c b/kernel/relay.c
index ef923f6de2e7..ef8a935710a2 100644
--- a/kernel/relay.c
+++ b/kernel/relay.c
@@ -328,7 +328,7 @@ static void wakeup_readers(struct work_struct *work)
328 * @buf: the channel buffer 328 * @buf: the channel buffer
329 * @init: 1 if this is a first-time initialization 329 * @init: 1 if this is a first-time initialization
330 * 330 *
331 * See relay_reset for description of effect. 331 * See relay_reset() for description of effect.
332 */ 332 */
333static void __relay_reset(struct rchan_buf *buf, unsigned int init) 333static void __relay_reset(struct rchan_buf *buf, unsigned int init)
334{ 334{
@@ -364,7 +364,7 @@ static void __relay_reset(struct rchan_buf *buf, unsigned int init)
364 * and restarting the channel in its initial state. The buffers 364 * and restarting the channel in its initial state. The buffers
365 * are not freed, so any mappings are still in effect. 365 * are not freed, so any mappings are still in effect.
366 * 366 *
367 * NOTE: Care should be taken that the channel isn't actually 367 * NOTE. Care should be taken that the channel isn't actually
368 * being used by anything when this call is made. 368 * being used by anything when this call is made.
369 */ 369 */
370void relay_reset(struct rchan *chan) 370void relay_reset(struct rchan *chan)
@@ -528,7 +528,7 @@ static int __cpuinit relay_hotcpu_callback(struct notifier_block *nb,
528 * Creates a channel buffer for each cpu using the sizes and 528 * Creates a channel buffer for each cpu using the sizes and
529 * attributes specified. The created channel buffer files 529 * attributes specified. The created channel buffer files
530 * will be named base_filename0...base_filenameN-1. File 530 * will be named base_filename0...base_filenameN-1. File
531 * permissions will be S_IRUSR. 531 * permissions will be %S_IRUSR.
532 */ 532 */
533struct rchan *relay_open(const char *base_filename, 533struct rchan *relay_open(const char *base_filename,
534 struct dentry *parent, 534 struct dentry *parent,
@@ -648,7 +648,7 @@ EXPORT_SYMBOL_GPL(relay_switch_subbuf);
648 * subbufs_consumed should be the number of sub-buffers newly consumed, 648 * subbufs_consumed should be the number of sub-buffers newly consumed,
649 * not the total consumed. 649 * not the total consumed.
650 * 650 *
651 * NOTE: Kernel clients don't need to call this function if the channel 651 * NOTE. Kernel clients don't need to call this function if the channel
652 * mode is 'overwrite'. 652 * mode is 'overwrite'.
653 */ 653 */
654void relay_subbufs_consumed(struct rchan *chan, 654void relay_subbufs_consumed(struct rchan *chan,
@@ -749,7 +749,7 @@ static int relay_file_open(struct inode *inode, struct file *filp)
749 * @filp: the file 749 * @filp: the file
750 * @vma: the vma describing what to map 750 * @vma: the vma describing what to map
751 * 751 *
752 * Calls upon relay_mmap_buf to map the file into user space. 752 * Calls upon relay_mmap_buf() to map the file into user space.
753 */ 753 */
754static int relay_file_mmap(struct file *filp, struct vm_area_struct *vma) 754static int relay_file_mmap(struct file *filp, struct vm_area_struct *vma)
755{ 755{
@@ -891,7 +891,7 @@ static size_t relay_file_read_subbuf_avail(size_t read_pos,
891 * @read_pos: file read position 891 * @read_pos: file read position
892 * @buf: relay channel buffer 892 * @buf: relay channel buffer
893 * 893 *
894 * If the read_pos is in the middle of padding, return the 894 * If the @read_pos is in the middle of padding, return the
895 * position of the first actually available byte, otherwise 895 * position of the first actually available byte, otherwise
896 * return the original value. 896 * return the original value.
897 */ 897 */