Commit da3dae54 authored by Masanari Iida's avatar Masanari Iida Committed by Jiri Kosina
Browse files

Documentation: Docbook: Fix generated DocBook/kernel-api.xml



This patch fix spelling typo found in DocBook/kernel-api.xml.
It is because the file is generated from the source comments,
I have to fix the comments in source codes.
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 2570741a
...@@ -240,7 +240,7 @@ EXPORT_SYMBOL(blk_stop_queue); ...@@ -240,7 +240,7 @@ EXPORT_SYMBOL(blk_stop_queue);
* this function. * this function.
* *
* This function does not cancel any asynchronous activity arising * This function does not cancel any asynchronous activity arising
* out of elevator or throttling code. That would require elevaotor_exit() * out of elevator or throttling code. That would require elevator_exit()
* and blkcg_exit_queue() to be called with queue lock initialized. * and blkcg_exit_queue() to be called with queue lock initialized.
* *
*/ */
...@@ -930,7 +930,7 @@ static struct io_context *rq_ioc(struct bio *bio) ...@@ -930,7 +930,7 @@ static struct io_context *rq_ioc(struct bio *bio)
* Get a free request from @q. This function may fail under memory * Get a free request from @q. This function may fail under memory
* pressure or if @q is dead. * pressure or if @q is dead.
* *
* Must be callled with @q->queue_lock held and, * Must be called with @q->queue_lock held and,
* Returns %NULL on failure, with @q->queue_lock held. * Returns %NULL on failure, with @q->queue_lock held.
* Returns !%NULL on success, with @q->queue_lock *not held*. * Returns !%NULL on success, with @q->queue_lock *not held*.
*/ */
...@@ -1107,7 +1107,7 @@ rq_starved: ...@@ -1107,7 +1107,7 @@ rq_starved:
* Get a free request from @q. If %__GFP_WAIT is set in @gfp_mask, this * Get a free request from @q. If %__GFP_WAIT is set in @gfp_mask, this
* function keeps retrying under memory pressure and fails iff @q is dead. * function keeps retrying under memory pressure and fails iff @q is dead.
* *
* Must be callled with @q->queue_lock held and, * Must be called with @q->queue_lock held and,
* Returns %NULL on failure, with @q->queue_lock held. * Returns %NULL on failure, with @q->queue_lock held.
* Returns !%NULL on success, with @q->queue_lock *not held*. * Returns !%NULL on success, with @q->queue_lock *not held*.
*/ */
...@@ -1238,7 +1238,7 @@ struct request *blk_make_request(struct request_queue *q, struct bio *bio, ...@@ -1238,7 +1238,7 @@ struct request *blk_make_request(struct request_queue *q, struct bio *bio,
EXPORT_SYMBOL(blk_make_request); EXPORT_SYMBOL(blk_make_request);
/** /**
* blk_rq_set_block_pc - initialize a requeest to type BLOCK_PC * blk_rq_set_block_pc - initialize a request to type BLOCK_PC
* @rq: request to be initialized * @rq: request to be initialized
* *
*/ */
......
...@@ -1543,7 +1543,7 @@ void disk_flush_events(struct gendisk *disk, unsigned int mask) ...@@ -1543,7 +1543,7 @@ void disk_flush_events(struct gendisk *disk, unsigned int mask)
/** /**
* disk_clear_events - synchronously check, clear and return pending events * disk_clear_events - synchronously check, clear and return pending events
* @disk: disk to fetch and clear events from * @disk: disk to fetch and clear events from
* @mask: mask of events to be fetched and clearted * @mask: mask of events to be fetched and cleared
* *
* Disk events are synchronously checked and pending events in @mask * Disk events are synchronously checked and pending events in @mask
* are cleared and returned. This ignores the block count. * are cleared and returned. This ignores the block count.
......
...@@ -238,7 +238,7 @@ void clk_put(struct clk *clk); ...@@ -238,7 +238,7 @@ void clk_put(struct clk *clk);
/** /**
* devm_clk_put - "free" a managed clock source * devm_clk_put - "free" a managed clock source
* @dev: device used to acuqire the clock * @dev: device used to acquire the clock
* @clk: clock source acquired with devm_clk_get() * @clk: clock source acquired with devm_clk_get()
* *
* Note: drivers must ensure that all clk_enable calls made on this * Note: drivers must ensure that all clk_enable calls made on this
......
...@@ -722,7 +722,7 @@ __kfifo_uint_must_check_helper( \ ...@@ -722,7 +722,7 @@ __kfifo_uint_must_check_helper( \
/** /**
* kfifo_dma_out_finish - finish a DMA OUT operation * kfifo_dma_out_finish - finish a DMA OUT operation
* @fifo: address of the fifo to be used * @fifo: address of the fifo to be used
* @len: number of bytes transferrd * @len: number of bytes transferred
* *
* This macro finish a DMA OUT operation. The out counter will be updated by * This macro finish a DMA OUT operation. The out counter will be updated by
* the len parameter. No error checking will be done. * the len parameter. No error checking will be done.
......
...@@ -309,7 +309,7 @@ int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int size) ...@@ -309,7 +309,7 @@ int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int size)
/** /**
* ipcget_new - create a new ipc object * ipcget_new - create a new ipc object
* @ns: ipc namespace * @ns: ipc namespace
* @ids: ipc identifer set * @ids: ipc identifier set
* @ops: the actual creation routine to call * @ops: the actual creation routine to call
* @params: its parameters * @params: its parameters
* *
...@@ -363,7 +363,7 @@ static int ipc_check_perms(struct ipc_namespace *ns, ...@@ -363,7 +363,7 @@ static int ipc_check_perms(struct ipc_namespace *ns,
/** /**
* ipcget_public - get an ipc object or create a new one * ipcget_public - get an ipc object or create a new one
* @ns: ipc namespace * @ns: ipc namespace
* @ids: ipc identifer set * @ids: ipc identifier set
* @ops: the actual creation routine to call * @ops: the actual creation routine to call
* @params: its parameters * @params: its parameters
* *
...@@ -669,7 +669,7 @@ out: ...@@ -669,7 +669,7 @@ out:
/** /**
* ipcget - Common sys_*get() code * ipcget - Common sys_*get() code
* @ns: namsepace * @ns: namespace
* @ids: ipc identifier set * @ids: ipc identifier set
* @ops: operations to be called on ipc object creation, permission checks * @ops: operations to be called on ipc object creation, permission checks
* and further checks * and further checks
......
...@@ -2406,7 +2406,7 @@ int __audit_log_bprm_fcaps(struct linux_binprm *bprm, ...@@ -2406,7 +2406,7 @@ int __audit_log_bprm_fcaps(struct linux_binprm *bprm,
* @new: the new credentials * @new: the new credentials
* @old: the old (current) credentials * @old: the old (current) credentials
* *
* Record the aguments userspace sent to sys_capset for later printing by the * Record the arguments userspace sent to sys_capset for later printing by the
* audit system if applicable * audit system if applicable
*/ */
void __audit_log_capset(const struct cred *new, const struct cred *old) void __audit_log_capset(const struct cred *new, const struct cred *old)
......
...@@ -882,7 +882,7 @@ EXPORT_SYMBOL(bitmap_bitremap); ...@@ -882,7 +882,7 @@ EXPORT_SYMBOL(bitmap_bitremap);
* read it, you're overqualified for your current job.) * read it, you're overqualified for your current job.)
* *
* In other words, @orig is mapped onto (surjectively) @dst, * In other words, @orig is mapped onto (surjectively) @dst,
* using the the map { <n, m> | the n-th bit of @relmap is the * using the map { <n, m> | the n-th bit of @relmap is the
* m-th set bit of @relmap }. * m-th set bit of @relmap }.
* *
* Any set bits in @orig above bit number W, where W is the * Any set bits in @orig above bit number W, where W is the
...@@ -930,7 +930,7 @@ EXPORT_SYMBOL(bitmap_bitremap); ...@@ -930,7 +930,7 @@ EXPORT_SYMBOL(bitmap_bitremap);
* *
* Further lets say we use the following code, invoking * Further lets say we use the following code, invoking
* bitmap_fold() then bitmap_onto, as suggested above to * bitmap_fold() then bitmap_onto, as suggested above to
* avoid the possitility of an empty @dst result: * avoid the possibility of an empty @dst result:
* *
* unsigned long *tmp; // a temporary bitmap's bits * unsigned long *tmp; // a temporary bitmap's bits
* *
......
...@@ -625,7 +625,7 @@ static void __idr_remove_all(struct idr *idp) ...@@ -625,7 +625,7 @@ static void __idr_remove_all(struct idr *idp)
* idr_destroy(). * idr_destroy().
* *
* A typical clean-up sequence for objects stored in an idr tree will use * A typical clean-up sequence for objects stored in an idr tree will use
* idr_for_each() to free all objects, if necessay, then idr_destroy() to * idr_for_each() to free all objects, if necessary, then idr_destroy() to
* free up the id mappings and cached idr_layers. * free up the id mappings and cached idr_layers.
*/ */
void idr_destroy(struct idr *idp) void idr_destroy(struct idr *idp)
......
...@@ -1937,7 +1937,7 @@ EXPORT_SYMBOL(sprintf); ...@@ -1937,7 +1937,7 @@ EXPORT_SYMBOL(sprintf);
* @args: Arguments for the format string * @args: Arguments for the format string
* *
* The format follows C99 vsnprintf, except %n is ignored, and its argument * The format follows C99 vsnprintf, except %n is ignored, and its argument
* is skiped. * is skipped.
* *
* The return value is the number of words(32bits) which would be generated for * The return value is the number of words(32bits) which would be generated for
* the given input. * the given input.
......
...@@ -720,7 +720,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue); ...@@ -720,7 +720,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue);
* *
* Unlocks the page and wakes up sleepers in ___wait_on_page_locked(). * Unlocks the page and wakes up sleepers in ___wait_on_page_locked().
* Also wakes sleepers in wait_on_page_writeback() because the wakeup * Also wakes sleepers in wait_on_page_writeback() because the wakeup
* mechananism between PageLocked pages and PageWriteback pages is shared. * mechanism between PageLocked pages and PageWriteback pages is shared.
* But that's OK - sleepers in wait_on_page_writeback() just go back to sleep. * But that's OK - sleepers in wait_on_page_writeback() just go back to sleep.
* *
* The mb is necessary to enforce ordering between the clear_bit and the read * The mb is necessary to enforce ordering between the clear_bit and the read
......
...@@ -74,7 +74,7 @@ static struct file_system_type fs_type = { ...@@ -74,7 +74,7 @@ static struct file_system_type fs_type = {
* pointer must be passed to the securityfs_remove() function when the file is * pointer must be passed to the securityfs_remove() function when the file is
* to be removed (no automatic cleanup happens if your module is unloaded, * to be removed (no automatic cleanup happens if your module is unloaded,
* you are responsible here). If an error occurs, the function will return * you are responsible here). If an error occurs, the function will return
* the erorr value (via ERR_PTR). * the error value (via ERR_PTR).
* *
* If securityfs is not enabled in the kernel, the value %-ENODEV is * If securityfs is not enabled in the kernel, the value %-ENODEV is
* returned. * returned.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment