diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-07 21:16:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-07 21:16:26 -0400 |
commit | 28596c9722289b2f98fa83a2e4351eb0a031b953 (patch) | |
tree | f1a76a8a2604ac710bad28e3ad1b5976601c82d4 /lib | |
parent | b6420ebd4a541455a75f9802f58cfa3ba0ea5390 (diff) | |
parent | 7bb38d57fd75f03753a5b362916c5bbde8290208 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull "trivial tree" updates from Jiri Kosina:
"Usual pile from trivial tree everyone is so eagerly waiting for"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
Remove MN10300_PROC_MN2WS0038
mei: fix comments
treewide: Fix typos in Kconfig
kprobes: update jprobe_example.c for do_fork() change
Documentation: change "&" to "and" in Documentation/applying-patches.txt
Documentation: remove obsolete pcmcia-cs from Changes
Documentation: update links in Changes
Documentation: Docbook: Fix generated DocBook/kernel-api.xml
score: Remove GENERIC_HAS_IOMAP
gpio: fix 'CONFIG_GPIO_IRQCHIP' comments
tty: doc: Fix grammar in serial/tty
dma-debug: modify check_for_stack output
treewide: fix errors in printk
genirq: fix reference in devm_request_threaded_irq comment
treewide: fix synchronize_rcu() in comments
checkstack.pl: port to AArch64
doc: queue-sysfs: minor fixes
init/do_mounts: better syntax description
MIPS: fix comment spelling
powerpc/simpleboot: fix comment
...
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bitmap.c | 4 | ||||
-rw-r--r-- | lib/dma-debug.c | 2 | ||||
-rw-r--r-- | lib/idr.c | 2 | ||||
-rw-r--r-- | lib/rhashtable.c | 4 | ||||
-rw-r--r-- | lib/vsprintf.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/lib/bitmap.c b/lib/bitmap.c index 1e031f2c9aba..cd250a2e14cb 100644 --- a/lib/bitmap.c +++ b/lib/bitmap.c | |||
@@ -884,7 +884,7 @@ EXPORT_SYMBOL(bitmap_bitremap); | |||
884 | * read it, you're overqualified for your current job.) | 884 | * read it, you're overqualified for your current job.) |
885 | * | 885 | * |
886 | * In other words, @orig is mapped onto (surjectively) @dst, | 886 | * In other words, @orig is mapped onto (surjectively) @dst, |
887 | * using the the map { <n, m> | the n-th bit of @relmap is the | 887 | * using the map { <n, m> | the n-th bit of @relmap is the |
888 | * m-th set bit of @relmap }. | 888 | * m-th set bit of @relmap }. |
889 | * | 889 | * |
890 | * Any set bits in @orig above bit number W, where W is the | 890 | * Any set bits in @orig above bit number W, where W is the |
@@ -932,7 +932,7 @@ EXPORT_SYMBOL(bitmap_bitremap); | |||
932 | * | 932 | * |
933 | * Further lets say we use the following code, invoking | 933 | * Further lets say we use the following code, invoking |
934 | * bitmap_fold() then bitmap_onto, as suggested above to | 934 | * bitmap_fold() then bitmap_onto, as suggested above to |
935 | * avoid the possitility of an empty @dst result: | 935 | * avoid the possibility of an empty @dst result: |
936 | * | 936 | * |
937 | * unsigned long *tmp; // a temporary bitmap's bits | 937 | * unsigned long *tmp; // a temporary bitmap's bits |
938 | * | 938 | * |
diff --git a/lib/dma-debug.c b/lib/dma-debug.c index 98f2d7e91a91..add80cc02dbe 100644 --- a/lib/dma-debug.c +++ b/lib/dma-debug.c | |||
@@ -1149,7 +1149,7 @@ static void check_unmap(struct dma_debug_entry *ref) | |||
1149 | static void check_for_stack(struct device *dev, void *addr) | 1149 | static void check_for_stack(struct device *dev, void *addr) |
1150 | { | 1150 | { |
1151 | if (object_is_on_stack(addr)) | 1151 | if (object_is_on_stack(addr)) |
1152 | err_printk(dev, NULL, "DMA-API: device driver maps memory from" | 1152 | err_printk(dev, NULL, "DMA-API: device driver maps memory from " |
1153 | "stack [addr=%p]\n", addr); | 1153 | "stack [addr=%p]\n", addr); |
1154 | } | 1154 | } |
1155 | 1155 | ||
@@ -626,7 +626,7 @@ static void __idr_remove_all(struct idr *idp) | |||
626 | * idr_destroy(). | 626 | * idr_destroy(). |
627 | * | 627 | * |
628 | * A typical clean-up sequence for objects stored in an idr tree will use | 628 | * A typical clean-up sequence for objects stored in an idr tree will use |
629 | * idr_for_each() to free all objects, if necessay, then idr_destroy() to | 629 | * idr_for_each() to free all objects, if necessary, then idr_destroy() to |
630 | * free up the id mappings and cached idr_layers. | 630 | * free up the id mappings and cached idr_layers. |
631 | */ | 631 | */ |
632 | void idr_destroy(struct idr *idp) | 632 | void idr_destroy(struct idr *idp) |
diff --git a/lib/rhashtable.c b/lib/rhashtable.c index 16d02639d334..3d2b4733f6cb 100644 --- a/lib/rhashtable.c +++ b/lib/rhashtable.c | |||
@@ -54,7 +54,7 @@ static u32 __hashfn(const struct rhashtable *ht, const void *key, | |||
54 | 54 | ||
55 | /** | 55 | /** |
56 | * rhashtable_hashfn - compute hash for key of given length | 56 | * rhashtable_hashfn - compute hash for key of given length |
57 | * @ht: hash table to compuate for | 57 | * @ht: hash table to compute for |
58 | * @key: pointer to key | 58 | * @key: pointer to key |
59 | * @len: length of key | 59 | * @len: length of key |
60 | * | 60 | * |
@@ -85,7 +85,7 @@ static u32 obj_hashfn(const struct rhashtable *ht, const void *ptr, u32 hsize) | |||
85 | 85 | ||
86 | /** | 86 | /** |
87 | * rhashtable_obj_hashfn - compute hash for hashed object | 87 | * rhashtable_obj_hashfn - compute hash for hashed object |
88 | * @ht: hash table to compuate for | 88 | * @ht: hash table to compute for |
89 | * @ptr: pointer to hashed object | 89 | * @ptr: pointer to hashed object |
90 | * | 90 | * |
91 | * Computes the hash value using the hash function `hashfn` respectively | 91 | * Computes the hash value using the hash function `hashfn` respectively |
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 6fe2c84eb055..ba3cd0a35640 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c | |||
@@ -1937,7 +1937,7 @@ EXPORT_SYMBOL(sprintf); | |||
1937 | * @args: Arguments for the format string | 1937 | * @args: Arguments for the format string |
1938 | * | 1938 | * |
1939 | * The format follows C99 vsnprintf, except %n is ignored, and its argument | 1939 | * The format follows C99 vsnprintf, except %n is ignored, and its argument |
1940 | * is skiped. | 1940 | * is skipped. |
1941 | * | 1941 | * |
1942 | * The return value is the number of words(32bits) which would be generated for | 1942 | * The return value is the number of words(32bits) which would be generated for |
1943 | * the given input. | 1943 | * the given input. |