diff options
| author | Martin Waitz <tali@admingilde.org> | 2005-05-01 11:59:26 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:59:26 -0400 |
| commit | 67be2dd1bace0ec7ce2dbc1bba3f8df3d7be597e (patch) | |
| tree | 317d114a0288d3b19ef9902f94b536a5a8731dbd | |
| parent | 6013d5445f9a6d0b28090027868f455c5012d1cc (diff) | |
[PATCH] DocBook: fix some descriptions
Some KernelDoc descriptions are updated to match the current code.
No code changes.
Signed-off-by: Martin Waitz <tali@admingilde.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | drivers/acpi/scan.c | 4 | ||||
| -rw-r--r-- | drivers/base/platform.c | 4 | ||||
| -rw-r--r-- | drivers/pci/hotplug.c | 4 | ||||
| -rw-r--r-- | drivers/pci/rom.c | 14 | ||||
| -rw-r--r-- | drivers/pnp/manager.c | 2 | ||||
| -rw-r--r-- | fs/bio.c | 2 | ||||
| -rw-r--r-- | fs/buffer.c | 11 | ||||
| -rw-r--r-- | fs/fs-writeback.c | 4 | ||||
| -rw-r--r-- | fs/mpage.c | 92 | ||||
| -rw-r--r-- | fs/proc/base.c | 2 | ||||
| -rw-r--r-- | fs/seq_file.c | 9 | ||||
| -rw-r--r-- | fs/sysfs/file.c | 4 | ||||
| -rw-r--r-- | include/linux/fs.h | 100 | ||||
| -rw-r--r-- | include/linux/skbuff.h | 5 | ||||
| -rw-r--r-- | include/net/sock.h | 1 | ||||
| -rw-r--r-- | kernel/sched.c | 3 | ||||
| -rw-r--r-- | kernel/sysctl.c | 2 | ||||
| -rw-r--r-- | lib/kobject.c | 3 | ||||
| -rw-r--r-- | mm/filemap.c | 17 | ||||
| -rw-r--r-- | mm/page-writeback.c | 6 | ||||
| -rw-r--r-- | mm/truncate.c | 4 | ||||
| -rw-r--r-- | net/core/datagram.c | 4 |
22 files changed, 160 insertions, 137 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index e7ca0662656..119c94093a1 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c | |||
| @@ -379,8 +379,8 @@ ACPI_DEVICE_ATTR(eject, 0200, NULL, acpi_eject_store); | |||
| 379 | 379 | ||
| 380 | /** | 380 | /** |
| 381 | * setup_sys_fs_device_files - sets up the device files under device namespace | 381 | * setup_sys_fs_device_files - sets up the device files under device namespace |
| 382 | * @@dev: acpi_device object | 382 | * @dev: acpi_device object |
| 383 | * @@func: function pointer to create or destroy the device file | 383 | * @func: function pointer to create or destroy the device file |
| 384 | */ | 384 | */ |
| 385 | static void | 385 | static void |
| 386 | setup_sys_fs_device_files ( | 386 | setup_sys_fs_device_files ( |
diff --git a/drivers/base/platform.c b/drivers/base/platform.c index cd6453905a9..3a5f4c99179 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c | |||
| @@ -115,7 +115,7 @@ int platform_add_devices(struct platform_device **devs, int num) | |||
| 115 | 115 | ||
| 116 | /** | 116 | /** |
| 117 | * platform_device_register - add a platform-level device | 117 | * platform_device_register - add a platform-level device |
| 118 | * @dev: platform device we're adding | 118 | * @pdev: platform device we're adding |
| 119 | * | 119 | * |
| 120 | */ | 120 | */ |
| 121 | int platform_device_register(struct platform_device * pdev) | 121 | int platform_device_register(struct platform_device * pdev) |
| @@ -174,7 +174,7 @@ int platform_device_register(struct platform_device * pdev) | |||
| 174 | 174 | ||
| 175 | /** | 175 | /** |
| 176 | * platform_device_unregister - remove a platform-level device | 176 | * platform_device_unregister - remove a platform-level device |
| 177 | * @dev: platform device we're removing | 177 | * @pdev: platform device we're removing |
| 178 | * | 178 | * |
| 179 | * Note that this function will also release all memory- and port-based | 179 | * Note that this function will also release all memory- and port-based |
| 180 | * resources owned by the device (@dev->resource). | 180 | * resources owned by the device (@dev->resource). |
diff --git a/drivers/pci/hotplug.c b/drivers/pci/hotplug.c index d471b3ea5d1..021d0f76bc4 100644 --- a/drivers/pci/hotplug.c +++ b/drivers/pci/hotplug.c | |||
| @@ -120,6 +120,10 @@ static int pci_visit_bridge (struct pci_visit * fn, | |||
| 120 | 120 | ||
| 121 | /** | 121 | /** |
| 122 | * pci_visit_dev - scans the pci buses. | 122 | * pci_visit_dev - scans the pci buses. |
| 123 | * @fn: callback functions that are called while visiting | ||
| 124 | * @wrapped_dev: the device to scan | ||
| 125 | * @wrapped_parent: the bus where @wrapped_dev is connected to | ||
| 126 | * | ||
| 123 | * Every bus and every function is presented to a custom | 127 | * Every bus and every function is presented to a custom |
| 124 | * function that can act upon it. | 128 | * function that can act upon it. |
| 125 | */ | 129 | */ |
diff --git a/drivers/pci/rom.c b/drivers/pci/rom.c index 3e64ff64b38..838575e3fac 100644 --- a/drivers/pci/rom.c +++ b/drivers/pci/rom.c | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | 14 | ||
| 15 | /** | 15 | /** |
| 16 | * pci_enable_rom - enable ROM decoding for a PCI device | 16 | * pci_enable_rom - enable ROM decoding for a PCI device |
| 17 | * @dev: PCI device to enable | 17 | * @pdev: PCI device to enable |
| 18 | * | 18 | * |
| 19 | * Enable ROM decoding on @dev. This involves simply turning on the last | 19 | * Enable ROM decoding on @dev. This involves simply turning on the last |
| 20 | * bit of the PCI ROM BAR. Note that some cards may share address decoders | 20 | * bit of the PCI ROM BAR. Note that some cards may share address decoders |
| @@ -32,7 +32,7 @@ static void pci_enable_rom(struct pci_dev *pdev) | |||
| 32 | 32 | ||
| 33 | /** | 33 | /** |
| 34 | * pci_disable_rom - disable ROM decoding for a PCI device | 34 | * pci_disable_rom - disable ROM decoding for a PCI device |
| 35 | * @dev: PCI device to disable | 35 | * @pdev: PCI device to disable |
| 36 | * | 36 | * |
| 37 | * Disable ROM decoding on a PCI device by turning off the last bit in the | 37 | * Disable ROM decoding on a PCI device by turning off the last bit in the |
| 38 | * ROM BAR. | 38 | * ROM BAR. |
| @@ -47,7 +47,7 @@ static void pci_disable_rom(struct pci_dev *pdev) | |||
| 47 | 47 | ||
| 48 | /** | 48 | /** |
| 49 | * pci_map_rom - map a PCI ROM to kernel space | 49 | * pci_map_rom - map a PCI ROM to kernel space |
| 50 | * @dev: pointer to pci device struct | 50 | * @pdev: pointer to pci device struct |
| 51 | * @size: pointer to receive size of pci window over ROM | 51 | * @size: pointer to receive size of pci window over ROM |
| 52 | * @return: kernel virtual pointer to image of ROM | 52 | * @return: kernel virtual pointer to image of ROM |
| 53 | * | 53 | * |
| @@ -132,7 +132,7 @@ void __iomem *pci_map_rom(struct pci_dev *pdev, size_t *size) | |||
| 132 | 132 | ||
| 133 | /** | 133 | /** |
| 134 | * pci_map_rom_copy - map a PCI ROM to kernel space, create a copy | 134 | * pci_map_rom_copy - map a PCI ROM to kernel space, create a copy |
| 135 | * @dev: pointer to pci device struct | 135 | * @pdev: pointer to pci device struct |
| 136 | * @size: pointer to receive size of pci window over ROM | 136 | * @size: pointer to receive size of pci window over ROM |
| 137 | * @return: kernel virtual pointer to image of ROM | 137 | * @return: kernel virtual pointer to image of ROM |
| 138 | * | 138 | * |
| @@ -166,7 +166,7 @@ void __iomem *pci_map_rom_copy(struct pci_dev *pdev, size_t *size) | |||
| 166 | 166 | ||
| 167 | /** | 167 | /** |
| 168 | * pci_unmap_rom - unmap the ROM from kernel space | 168 | * pci_unmap_rom - unmap the ROM from kernel space |
| 169 | * @dev: pointer to pci device struct | 169 | * @pdev: pointer to pci device struct |
| 170 | * @rom: virtual address of the previous mapping | 170 | * @rom: virtual address of the previous mapping |
| 171 | * | 171 | * |
| 172 | * Remove a mapping of a previously mapped ROM | 172 | * Remove a mapping of a previously mapped ROM |
| @@ -187,7 +187,7 @@ void pci_unmap_rom(struct pci_dev *pdev, void __iomem *rom) | |||
| 187 | 187 | ||
| 188 | /** | 188 | /** |
| 189 | * pci_remove_rom - disable the ROM and remove its sysfs attribute | 189 | * pci_remove_rom - disable the ROM and remove its sysfs attribute |
| 190 | * @dev: pointer to pci device struct | 190 | * @pdev: pointer to pci device struct |
| 191 | * | 191 | * |
| 192 | * Remove the rom file in sysfs and disable ROM decoding. | 192 | * Remove the rom file in sysfs and disable ROM decoding. |
| 193 | */ | 193 | */ |
| @@ -206,7 +206,7 @@ void pci_remove_rom(struct pci_dev *pdev) | |||
| 206 | /** | 206 | /** |
| 207 | * pci_cleanup_rom - internal routine for freeing the ROM copy created | 207 | * pci_cleanup_rom - internal routine for freeing the ROM copy created |
| 208 | * by pci_map_rom_copy called from remove.c | 208 | * by pci_map_rom_copy called from remove.c |
| 209 | * @dev: pointer to pci device struct | 209 | * @pdev: pointer to pci device struct |
| 210 | * | 210 | * |
| 211 | * Free the copied ROM if we allocated one. | 211 | * Free the copied ROM if we allocated one. |
| 212 | */ | 212 | */ |
diff --git a/drivers/pnp/manager.c b/drivers/pnp/manager.c index 639e0425348..65ecef73853 100644 --- a/drivers/pnp/manager.c +++ b/drivers/pnp/manager.c | |||
| @@ -253,7 +253,7 @@ void pnp_init_resource_table(struct pnp_resource_table *table) | |||
| 253 | 253 | ||
| 254 | /** | 254 | /** |
| 255 | * pnp_clean_resources - clears resources that were not manually set | 255 | * pnp_clean_resources - clears resources that were not manually set |
| 256 | * @res - the resources to clean | 256 | * @res: the resources to clean |
| 257 | * | 257 | * |
| 258 | */ | 258 | */ |
| 259 | static void pnp_clean_resource_table(struct pnp_resource_table * res) | 259 | static void pnp_clean_resource_table(struct pnp_resource_table * res) |
| @@ -140,6 +140,7 @@ inline void bio_init(struct bio *bio) | |||
| 140 | * bio_alloc_bioset - allocate a bio for I/O | 140 | * bio_alloc_bioset - allocate a bio for I/O |
| 141 | * @gfp_mask: the GFP_ mask given to the slab allocator | 141 | * @gfp_mask: the GFP_ mask given to the slab allocator |
| 142 | * @nr_iovecs: number of iovecs to pre-allocate | 142 | * @nr_iovecs: number of iovecs to pre-allocate |
| 143 | * @bs: the bio_set to allocate from | ||
| 143 | * | 144 | * |
| 144 | * Description: | 145 | * Description: |
| 145 | * bio_alloc_bioset will first try it's on mempool to satisfy the allocation. | 146 | * bio_alloc_bioset will first try it's on mempool to satisfy the allocation. |
| @@ -629,6 +630,7 @@ out: | |||
| 629 | 630 | ||
| 630 | /** | 631 | /** |
| 631 | * bio_map_user - map user address into bio | 632 | * bio_map_user - map user address into bio |
| 633 | * @q: the request_queue_t for the bio | ||
| 632 | * @bdev: destination block device | 634 | * @bdev: destination block device |
| 633 | * @uaddr: start of user address | 635 | * @uaddr: start of user address |
| 634 | * @len: length in bytes | 636 | * @len: length in bytes |
diff --git a/fs/buffer.c b/fs/buffer.c index 792cbacbbf4..5f525b3c6d9 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
| @@ -774,15 +774,14 @@ repeat: | |||
| 774 | /** | 774 | /** |
| 775 | * sync_mapping_buffers - write out and wait upon a mapping's "associated" | 775 | * sync_mapping_buffers - write out and wait upon a mapping's "associated" |
| 776 | * buffers | 776 | * buffers |
| 777 | * @buffer_mapping - the mapping which backs the buffers' data | 777 | * @mapping: the mapping which wants those buffers written |
| 778 | * @mapping - the mapping which wants those buffers written | ||
| 779 | * | ||
