diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 12:36:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 12:36:50 -0400 |
commit | 5d434fcb255dec99189f1c58a06e4f56e12bf77d (patch) | |
tree | 734289dc85074903d9e636a935d43414746e222c /mm | |
parent | 5a5a1bf099d6942399ea0b34a62e5f0bc4c5c36e (diff) | |
parent | 071361d3473ebb8142907470ff12d59c59f6be72 (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 stuff, mostly comment fixes, typo fixes, printk fixes and small
code cleanups"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (45 commits)
mm: Convert print_symbol to %pSR
gfs2: Convert print_symbol to %pSR
m32r: Convert print_symbol to %pSR
iostats.txt: add easy-to-find description for field 6
x86 cmpxchg.h: fix wrong comment
treewide: Fix typo in printk and comments
doc: devicetree: Fix various typos
docbook: fix 8250 naming in device-drivers
pata_pdc2027x: Fix compiler warning
treewide: Fix typo in printks
mei: Fix comments in drivers/misc/mei
treewide: Fix typos in kernel messages
pm44xx: Fix comment for "CONFIG_CPU_IDLE"
doc: Fix typo "CONFIG_CGROUP_CGROUP_MEMCG_SWAP"
mmzone: correct "pags" to "pages" in comment.
kernel-parameters: remove outdated 'noresidual' parameter
Remove spurious _H suffixes from ifdef comments
sound: Remove stray pluses from Kconfig file
radio-shark: Fix printk "CONFIG_LED_CLASS"
doc: put proper reference to CONFIG_MODULE_SIG_ENFORCE
...
Diffstat (limited to 'mm')
-rw-r--r-- | mm/hugetlb.c | 4 | ||||
-rw-r--r-- | mm/memory.c | 8 | ||||
-rw-r--r-- | mm/slab.c | 8 |
3 files changed, 9 insertions, 11 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 9b9aeef8e590..f8feeeca6686 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c | |||
@@ -1761,7 +1761,7 @@ static struct hstate *kobj_to_node_hstate(struct kobject *kobj, int *nidp) | |||
1761 | * Unregister hstate attributes from a single node device. | 1761 | * Unregister hstate attributes from a single node device. |
1762 | * No-op if no hstate attributes attached. | 1762 | * No-op if no hstate attributes attached. |
1763 | */ | 1763 | */ |
1764 | void hugetlb_unregister_node(struct node *node) | 1764 | static void hugetlb_unregister_node(struct node *node) |
1765 | { | 1765 | { |
1766 | struct hstate *h; | 1766 | struct hstate *h; |
1767 | struct node_hstate *nhs = &node_hstates[node->dev.id]; | 1767 | struct node_hstate *nhs = &node_hstates[node->dev.id]; |
@@ -1805,7 +1805,7 @@ static void hugetlb_unregister_all_nodes(void) | |||
1805 | * Register hstate attributes for a single node device. | 1805 | * Register hstate attributes for a single node device. |
1806 | * No-op if attributes already registered. | 1806 | * No-op if attributes already registered. |
1807 | */ | 1807 | */ |
1808 | void hugetlb_register_node(struct node *node) | 1808 | static void hugetlb_register_node(struct node *node) |
1809 | { | 1809 | { |
1810 | struct hstate *h; | 1810 | struct hstate *h; |
1811 | struct node_hstate *nhs = &node_hstates[node->dev.id]; | 1811 | struct node_hstate *nhs = &node_hstates[node->dev.id]; |
diff --git a/mm/memory.c b/mm/memory.c index f7a1fba85d14..6dc1882fbd72 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -715,11 +715,11 @@ static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, | |||
715 | * Choose text because data symbols depend on CONFIG_KALLSYMS_ALL=y | 715 | * Choose text because data symbols depend on CONFIG_KALLSYMS_ALL=y |
716 | */ | 716 | */ |
717 | if (vma->vm_ops) | 717 | if (vma->vm_ops) |
718 | print_symbol(KERN_ALERT "vma->vm_ops->fault: %s\n", | 718 | printk(KERN_ALERT "vma->vm_ops->fault: %pSR\n", |
719 | (unsigned long)vma->vm_ops->fault); | 719 | vma->vm_ops->fault); |
720 | if (vma->vm_file && vma->vm_file->f_op) | 720 | if (vma->vm_file && vma->vm_file->f_op) |
721 | print_symbol(KERN_ALERT "vma->vm_file->f_op->mmap: %s\n", | 721 | printk(KERN_ALERT "vma->vm_file->f_op->mmap: %pSR\n", |
722 | (unsigned long)vma->vm_file->f_op->mmap); | 722 | vma->vm_file->f_op->mmap); |
723 | dump_stack(); | 723 | dump_stack(); |
724 | add_taint(TAINT_BAD_PAGE, LOCKDEP_NOW_UNRELIABLE); | 724 | add_taint(TAINT_BAD_PAGE, LOCKDEP_NOW_UNRELIABLE); |
725 | } | 725 | } |
@@ -2040,11 +2040,9 @@ static void print_objinfo(struct kmem_cache *cachep, void *objp, int lines) | |||
2040 | } | 2040 | } |
2041 | 2041 | ||
2042 | if (cachep->flags & SLAB_STORE_USER) { | 2042 | if (cachep->flags & SLAB_STORE_USER) { |
2043 | printk(KERN_ERR "Last user: [<%p>]", | 2043 | printk(KERN_ERR "Last user: [<%p>](%pSR)\n", |
2044 | *dbg_userword(cachep, objp)); | 2044 | *dbg_userword(cachep, objp), |
2045 | print_symbol("(%s)", | 2045 | *dbg_userword(cachep, objp)); |
2046 | (unsigned long)*dbg_userword(cachep, objp)); | ||
2047 | printk("\n"); | ||
2048 | } | 2046 | } |
2049 | realobj = (char *)objp + obj_offset(cachep); | 2047 | realobj = (char *)objp + obj_offset(cachep); |
2050 | size = cachep->object_size; | 2048 | size = cachep->object_size; |