diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-03-19 20:00:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-19 21:53:35 -0400 |
commit | 46711810200c50e639ffc52e755b3dba9b4c82a3 (patch) | |
tree | 0279398b04ff7b1609bf689f56c21793cbc40d57 /mm/tiny-shmem.c | |
parent | 7682486b3ee06f800d5b11033371c7c5e92e3057 (diff) |
mm/shmem and tiny-shmem: fix some kernel-doc
Convert tiny-shmem.c function comments to kernel-doc. Add parameters and
convert/fix other kernel-doc in shmem.c.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/tiny-shmem.c')
-rw-r--r-- | mm/tiny-shmem.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mm/tiny-shmem.c b/mm/tiny-shmem.c index 702083638c16..f0f55875dd6a 100644 --- a/mm/tiny-shmem.c +++ b/mm/tiny-shmem.c | |||
@@ -39,12 +39,11 @@ static int __init init_tmpfs(void) | |||
39 | } | 39 | } |
40 | module_init(init_tmpfs) | 40 | module_init(init_tmpfs) |
41 | 41 | ||
42 | /* | 42 | /** |
43 | * shmem_file_setup - get an unlinked file living in tmpfs | 43 | * shmem_file_setup - get an unlinked file living in tmpfs |
44 | * | ||
45 | * @name: name for dentry (to be seen in /proc/<pid>/maps | 44 | * @name: name for dentry (to be seen in /proc/<pid>/maps |
46 | * @size: size to be set for the file | 45 | * @size: size to be set for the file |
47 | * | 46 | * @flags: vm_flags |
48 | */ | 47 | */ |
49 | struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags) | 48 | struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags) |
50 | { | 49 | { |
@@ -95,9 +94,8 @@ put_memory: | |||
95 | return ERR_PTR(error); | 94 | return ERR_PTR(error); |
96 | } | 95 | } |
97 | 96 | ||
98 | /* | 97 | /** |
99 | * shmem_zero_setup - setup a shared anonymous mapping | 98 | * shmem_zero_setup - setup a shared anonymous mapping |
100 | * | ||
101 | * @vma: the vma to be mmapped is prepared by do_mmap_pgoff | 99 | * @vma: the vma to be mmapped is prepared by do_mmap_pgoff |
102 | */ | 100 | */ |
103 | int shmem_zero_setup(struct vm_area_struct *vma) | 101 | int shmem_zero_setup(struct vm_area_struct *vma) |