Skip to content

Commit da3dae5

Browse files
standby24x7Jiri Kosina
authored andcommitted
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>
1 parent 2570741 commit da3dae5

11 files changed

Lines changed: 17 additions & 17 deletions

File tree

‎block/blk-core.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ EXPORT_SYMBOL(blk_stop_queue);
240240
* this function.
241241
*
242242
* 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()
244244
* and blkcg_exit_queue() to be called with queue lock initialized.
245245
*
246246
*/
@@ -930,7 +930,7 @@ static struct io_context *rq_ioc(struct bio *bio)
930930
* Get a free request from @q. This function may fail under memory
931931
* pressure or if @q is dead.
932932
*
933-
* Must be callled with @q->queue_lock held and,
933+
* Must be called with @q->queue_lock held and,
934934
* Returns %NULL on failure, with @q->queue_lock held.
935935
* Returns !%NULL on success, with @q->queue_lock *not held*.
936936
*/
@@ -1107,7 +1107,7 @@ static struct request *__get_request(struct request_list *rl, int rw_flags,
11071107
* Get a free request from @q. If %__GFP_WAIT is set in @gfp_mask, this
11081108
* function keeps retrying under memory pressure and fails iff @q is dead.
11091109
*
1110-
* Must be callled with @q->queue_lock held and,
1110+
* Must be called with @q->queue_lock held and,
11111111
* Returns %NULL on failure, with @q->queue_lock held.
11121112
* Returns !%NULL on success, with @q->queue_lock *not held*.
11131113
*/
@@ -1238,7 +1238,7 @@ struct request *blk_make_request(struct request_queue *q, struct bio *bio,
12381238
EXPORT_SYMBOL(blk_make_request);
12391239

12401240
/**
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
12421242
* @rq: request to be initialized
12431243
*
12441244
*/

‎block/genhd.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,7 @@ void disk_flush_events(struct gendisk *disk, unsigned int mask)
15431543
/**
15441544
* disk_clear_events - synchronously check, clear and return pending events
15451545
* @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
15471547
*
15481548
* Disk events are synchronously checked and pending events in @mask
15491549
* are cleared and returned. This ignores the block count.

‎include/linux/clk.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ void clk_put(struct clk *clk);
238238

239239
/**
240240
* devm_clk_put - "free" a managed clock source
241-
* @dev: device used to acuqire the clock
241+
* @dev: device used to acquire the clock
242242
* @clk: clock source acquired with devm_clk_get()
243243
*
244244
* Note: drivers must ensure that all clk_enable calls made on this

‎include/linux/kfifo.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ __kfifo_uint_must_check_helper( \
722722
/**
723723
* kfifo_dma_out_finish - finish a DMA OUT operation
724724
* @fifo: address of the fifo to be used
725-
* @len: number of bytes transferrd
725+
* @len: number of bytes transferred
726726
*
727727
* This macro finish a DMA OUT operation. The out counter will be updated by
728728
* the len parameter. No error checking will be done.

‎ipc/util.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int size)
309309
/**
310310
* ipcget_new - create a new ipc object
311311
* @ns: ipc namespace
312-
* @ids: ipc identifer set
312+
* @ids: ipc identifier set
313313
* @ops: the actual creation routine to call
314314
* @params: its parameters
315315
*
@@ -363,7 +363,7 @@ static int ipc_check_perms(struct ipc_namespace *ns,
363363
/**
364364
* ipcget_public - get an ipc object or create a new one
365365
* @ns: ipc namespace
366-
* @ids: ipc identifer set
366+
* @ids: ipc identifier set
367367
* @ops: the actual creation routine to call
368368
* @params: its parameters
369369
*
@@ -669,7 +669,7 @@ struct kern_ipc_perm *ipc_obtain_object_check(struct ipc_ids *ids, int id)
669669

670670
/**
671671
* ipcget - Common sys_*get() code
672-
* @ns: namsepace
672+
* @ns: namespace
673673
* @ids: ipc identifier set
674674
* @ops: operations to be called on ipc object creation, permission checks
675675
* and further checks

‎kernel/auditsc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2406,7 +2406,7 @@ int __audit_log_bprm_fcaps(struct linux_binprm *bprm,
24062406
* @new: the new credentials
24072407
* @old: the old (current) credentials
24082408
*
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
24102410
* audit system if applicable
24112411
*/
24122412
void __audit_log_capset(const struct cred *new, const struct cred *old)

‎lib/bitmap.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ EXPORT_SYMBOL(bitmap_bitremap);
882882
* read it, you're overqualified for your current job.)
883883
*
884884
* 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
886886
* m-th set bit of @relmap }.
887887
*
888888
* Any set bits in @orig above bit number W, where W is the
@@ -930,7 +930,7 @@ EXPORT_SYMBOL(bitmap_bitremap);
930930
*
931931
* Further lets say we use the following code, invoking
932932
* 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:
934934
*
935935
* unsigned long *tmp; // a temporary bitmap's bits
936936
*

‎lib/idr.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ static void __idr_remove_all(struct idr *idp)
625625
* idr_destroy().
626626
*
627627
* 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
629629
* free up the id mappings and cached idr_layers.
630630
*/
631631
void idr_destroy(struct idr *idp)

‎lib/vsprintf.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1937,7 +1937,7 @@ EXPORT_SYMBOL(sprintf);
19371937
* @args: Arguments for the format string
19381938
*
19391939
* The format follows C99 vsnprintf, except %n is ignored, and its argument
1940-
* is skiped.
1940+
* is skipped.
19411941
*
19421942
* The return value is the number of words(32bits) which would be generated for
19431943
* the given input.

‎mm/filemap.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue);
720720
*
721721
* Unlocks the page and wakes up sleepers in ___wait_on_page_locked().
722722
* 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.
724724
* But that's OK - sleepers in wait_on_page_writeback() just go back to sleep.
725725
*
726726
* The mb is necessary to enforce ordering between the clear_bit and the read

0 commit comments

Comments
 (0)