Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Masanari Iida <standby24x7@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

authored by

Masanari Iida and committed by
Jiri Kosina
da3dae54 2570741a

+17 -17
+4 -4
block/blk-core.c
··· 240 240 * this function. 241 241 * 242 242 * This function does not cancel any asynchronous activity arising 243 - * out of elevator or throttling code. That would require elevaotor_exit() 243 + * out of elevator or throttling code. That would require elevator_exit() 244 244 * and blkcg_exit_queue() to be called with queue lock initialized. 245 245 * 246 246 */ ··· 930 930 * Get a free request from @q. This function may fail under memory 931 931 * pressure or if @q is dead. 932 932 * 933 - * Must be callled with @q->queue_lock held and, 933 + * Must be called with @q->queue_lock held and, 934 934 * Returns %NULL on failure, with @q->queue_lock held. 935 935 * Returns !%NULL on success, with @q->queue_lock *not held*. 936 936 */ ··· 1107 1107 * Get a free request from @q. If %__GFP_WAIT is set in @gfp_mask, this 1108 1108 * function keeps retrying under memory pressure and fails iff @q is dead. 1109 1109 * 1110 - * Must be callled with @q->queue_lock held and, 1110 + * Must be called with @q->queue_lock held and, 1111 1111 * Returns %NULL on failure, with @q->queue_lock held. 1112 1112 * Returns !%NULL on success, with @q->queue_lock *not held*. 1113 1113 */ ··· 1238 1238 EXPORT_SYMBOL(blk_make_request); 1239 1239 1240 1240 /** 1241 - * blk_rq_set_block_pc - initialize a requeest to type BLOCK_PC 1241 + * blk_rq_set_block_pc - initialize a request to type BLOCK_PC 1242 1242 * @rq: request to be initialized 1243 1243 * 1244 1244 */
+1 -1
block/genhd.c
··· 1543 1543 /** 1544 1544 * disk_clear_events - synchronously check, clear and return pending events 1545 1545 * @disk: disk to fetch and clear events from 1546 - * @mask: mask of events to be fetched and clearted 1546 + * @mask: mask of events to be fetched and cleared 1547 1547 * 1548 1548 * Disk events are synchronously checked and pending events in @mask 1549 1549 * are cleared and returned. This ignores the block count.
+1 -1
include/linux/clk.h
··· 238 238 239 239 /** 240 240 * devm_clk_put - "free" a managed clock source 241 - * @dev: device used to acuqire the clock 241 + * @dev: device used to acquire the clock 242 242 * @clk: clock source acquired with devm_clk_get() 243 243 * 244 244 * Note: drivers must ensure that all clk_enable calls made on this
+1 -1
include/linux/kfifo.h
··· 722 722 /** 723 723 * kfifo_dma_out_finish - finish a DMA OUT operation 724 724 * @fifo: address of the fifo to be used 725 - * @len: number of bytes transferrd 725 + * @len: number of bytes transferred 726 726 * 727 727 * This macro finish a DMA OUT operation. The out counter will be updated by 728 728 * the len parameter. No error checking will be done.
+3 -3
ipc/util.c
··· 309 309 /** 310 310 * ipcget_new - create a new ipc object 311 311 * @ns: ipc namespace 312 - * @ids: ipc identifer set 312 + * @ids: ipc identifier set 313 313 * @ops: the actual creation routine to call 314 314 * @params: its parameters 315 315 * ··· 363 363 /** 364 364 * ipcget_public - get an ipc object or create a new one 365 365 * @ns: ipc namespace 366 - * @ids: ipc identifer set 366 + * @ids: ipc identifier set 367 367 * @ops: the actual creation routine to call 368 368 * @params: its parameters 369 369 * ··· 669 669 670 670 /** 671 671 * ipcget - Common sys_*get() code 672 - * @ns: namsepace 672 + * @ns: namespace 673 673 * @ids: ipc identifier set 674 674 * @ops: operations to be called on ipc object creation, permission checks 675 675 * and further checks
+1 -1
kernel/auditsc.c
··· 2406 2406 * @new: the new credentials 2407 2407 * @old: the old (current) credentials 2408 2408 * 2409 - * Record the aguments userspace sent to sys_capset for later printing by the 2409 + * Record the arguments userspace sent to sys_capset for later printing by the 2410 2410 * audit system if applicable 2411 2411 */ 2412 2412 void __audit_log_capset(const struct cred *new, const struct cred *old)
+2 -2
lib/bitmap.c
··· 882 882 * read it, you're overqualified for your current job.) 883 883 * 884 884 * In other words, @orig is mapped onto (surjectively) @dst, 885 - * using the the map { <n, m> | the n-th bit of @relmap is the 885 + * using the map { <n, m> | the n-th bit of @relmap is the 886 886 * m-th set bit of @relmap }. 887 887 * 888 888 * Any set bits in @orig above bit number W, where W is the ··· 930 930 * 931 931 * Further lets say we use the following code, invoking 932 932 * bitmap_fold() then bitmap_onto, as suggested above to 933 - * avoid the possitility of an empty @dst result: 933 + * avoid the possibility of an empty @dst result: 934 934 * 935 935 * unsigned long *tmp; // a temporary bitmap's bits 936 936 *
+1 -1
lib/idr.c
··· 625 625 * idr_destroy(). 626 626 * 627 627 * A typical clean-up sequence for objects stored in an idr tree will use 628 - * idr_for_each() to free all objects, if necessay, then idr_destroy() to 628 + * idr_for_each() to free all objects, if necessary, then idr_destroy() to 629 629 * free up the id mappings and cached idr_layers. 630 630 */ 631 631 void idr_destroy(struct idr *idp)
+1 -1
lib/vsprintf.c
··· 1937 1937 * @args: Arguments for the format string 1938 1938 * 1939 1939 * The format follows C99 vsnprintf, except %n is ignored, and its argument 1940 - * is skiped. 1940 + * is skipped. 1941 1941 * 1942 1942 * The return value is the number of words(32bits) which would be generated for 1943 1943 * the given input.
+1 -1
mm/filemap.c
··· 720 720 * 721 721 * Unlocks the page and wakes up sleepers in ___wait_on_page_locked(). 722 722 * Also wakes sleepers in wait_on_page_writeback() because the wakeup 723 - * mechananism between PageLocked pages and PageWriteback pages is shared. 723 + * mechanism between PageLocked pages and PageWriteback pages is shared. 724 724 * But that's OK - sleepers in wait_on_page_writeback() just go back to sleep. 725 725 * 726 726 * The mb is necessary to enforce ordering between the clear_bit and the read
+1 -1
security/inode.c
··· 74 74 * pointer must be passed to the securityfs_remove() function when the file is 75 75 * to be removed (no automatic cleanup happens if your module is unloaded, 76 76 * you are responsible here). If an error occurs, the function will return 77 - * the erorr value (via ERR_PTR). 77 + * the error value (via ERR_PTR). 78 78 * 79 79 * If securityfs is not enabled in the kernel, the value %-ENODEV is 80 80 * returned.