aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-04-14 12:50:27 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-14 12:50:27 -0400
commitd0bbe0dd353af9521e9d8bc5236308c677b6f62a (patch)
treea1142f3a5058d16504863ac777b21efdf1eca49e /arch
parent8de29a35dc840a05e451ad035bcb06e21ccf605f (diff)
parent0e4f93e5017d9d8080bbd34db17836e090eb46fe (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree from Jiri Kosina: "Usual trivial tree updates. Nothing outstanding -- mostly printk() and comment fixes and unused identifier removals" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: goldfish: goldfish_tty_probe() is not using 'i' any more powerpc: Fix comment in smu.h qla2xxx: Fix printks in ql_log message lib: correct link to the original source for div64_u64 si2168, tda10071, m88ds3103: Fix firmware wording usb: storage: Fix printk in isd200_log_config() qla2xxx: Fix printk in qla25xx_setup_mode init/main: fix reset_device comment ipwireless: missing assignment goldfish: remove unreachable line of code coredump: Fix do_coredump() comment stacktrace.h: remove duplicate declaration task_struct smpboot.h: Remove unused function prototype treewide: Fix typo in printk messages treewide: Fix typo in printk messages mod_devicetable: fix comment for match_flags
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/kernel/unwind.c2
-rw-r--r--arch/powerpc/include/asm/smu.h2
-rw-r--r--arch/powerpc/kernel/prom.c2
-rw-r--r--arch/powerpc/perf/hv-24x7.c2
-rw-r--r--arch/powerpc/platforms/85xx/p1022_rdk.c4
-rw-r--r--arch/x86/kernel/test_rodata.c2
6 files changed, 7 insertions, 7 deletions
diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c
index e550b117ec4f..93c6ea52b671 100644
--- a/arch/arc/kernel/unwind.c
+++ b/arch/arc/kernel/unwind.c
@@ -841,7 +841,7 @@ static int processCFI(const u8 *start, const u8 *end, unsigned long targetLoc,
841 break; 841 break;
842 case DW_CFA_GNU_window_save: 842 case DW_CFA_GNU_window_save:
843 default: 843 default:
844 unw_debug("UNKNOW OPCODE 0x%x\n", opcode); 844 unw_debug("UNKNOWN OPCODE 0x%x\n", opcode);
845 result = 0; 845 result = 0;
846 break; 846 break;
847 } 847 }
diff --git a/arch/powerpc/include/asm/smu.h b/arch/powerpc/include/asm/smu.h
index 6e909f3e6a46..37d2da6feabf 100644
--- a/arch/powerpc/include/asm/smu.h
+++ b/arch/powerpc/include/asm/smu.h
@@ -478,7 +478,7 @@ extern unsigned long smu_cmdbuf_abs;
478 478
479 479
480/* 480/*
481 * Kenrel asynchronous i2c interface 481 * Kernel asynchronous i2c interface
482 */ 482 */
483 483
484#define SMU_I2C_READ_MAX 0x1d 484#define SMU_I2C_READ_MAX 0x1d
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index b8e15c678960..308c5e15676b 100644
--- a/arch/powerpc/kernel/prom.c
+++ b/arch/powerpc/kernel/prom.c
@@ -721,7 +721,7 @@ void __init early_init_devtree(void *params)
721 */ 721 */
722 of_scan_flat_dt(early_init_dt_scan_cpus, NULL); 722 of_scan_flat_dt(early_init_dt_scan_cpus, NULL);
723 if (boot_cpuid < 0) { 723 if (boot_cpuid < 0) {
724 printk("Failed to indentify boot CPU !\n"); 724 printk("Failed to identify boot CPU !\n");
725 BUG(); 725 BUG();
726 } 726 }
727 727
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c
index 9445a824819e..abeb9ec0d117 100644
--- a/arch/powerpc/perf/hv-24x7.c
+++ b/arch/powerpc/perf/hv-24x7.c
@@ -1126,7 +1126,7 @@ static int h_24x7_event_init(struct perf_event *event)
1126 /* Physical domains & other lpars require extra capabilities */ 1126 /* Physical domains & other lpars require extra capabilities */
1127 if (!caps.collect_privileged && (is_physical_domain(domain) || 1127 if (!caps.collect_privileged && (is_physical_domain(domain) ||
1128 (event_get_lpar(event) != event_get_lpar_max()))) { 1128 (event_get_lpar(event) != event_get_lpar_max()))) {
1129 pr_devel("hv permisions disallow: is_physical_domain:%d, lpar=0x%llx\n", 1129 pr_devel("hv permissions disallow: is_physical_domain:%d, lpar=0x%llx\n",
1130 is_physical_domain(domain), 1130 is_physical_domain(domain),
1131 event_get_lpar(event)); 1131 event_get_lpar(event));
1132 return -EACCES; 1132 return -EACCES;
diff --git a/arch/powerpc/platforms/85xx/p1022_rdk.c b/arch/powerpc/platforms/85xx/p1022_rdk.c
index 7a180f0308d5..680232d6ba48 100644
--- a/arch/powerpc/platforms/85xx/p1022_rdk.c
+++ b/arch/powerpc/platforms/85xx/p1022_rdk.c
@@ -50,14 +50,14 @@ void p1022rdk_set_pixel_clock(unsigned int pixclock)
50 /* Map the global utilities registers. */ 50 /* Map the global utilities registers. */
51 guts_np = of_find_compatible_node(NULL, NULL, "fsl,p1022-guts"); 51 guts_np = of_find_compatible_node(NULL, NULL, "fsl,p1022-guts");
52 if (!guts_np) { 52 if (!guts_np) {
53 pr_err("p1022rdk: missing global utilties device node\n"); 53 pr_err("p1022rdk: missing global utilities device node\n");
54 return; 54 return;
55 } 55 }
56 56
57 guts = of_iomap(guts_np, 0); 57 guts = of_iomap(guts_np, 0);
58 of_node_put(guts_np); 58 of_node_put(guts_np);
59 if (!guts) { 59 if (!guts) {
60 pr_err("p1022rdk: could not map global utilties device\n"); 60 pr_err("p1022rdk: could not map global utilities device\n");
61 return; 61 return;
62 } 62 }
63 63
diff --git a/arch/x86/kernel/test_rodata.c b/arch/x86/kernel/test_rodata.c
index b79133abda48..5ecbfe5099da 100644
--- a/arch/x86/kernel/test_rodata.c
+++ b/arch/x86/kernel/test_rodata.c
@@ -57,7 +57,7 @@ int rodata_test(void)
57 /* test 3: check the value hasn't changed */ 57 /* test 3: check the value hasn't changed */
58 /* If this test fails, we managed to overwrite the data */ 58 /* If this test fails, we managed to overwrite the data */
59 if (!rodata_test_data) { 59 if (!rodata_test_data) {
60 printk(KERN_ERR "rodata_test: Test 3 failes (end data)\n"); 60 printk(KERN_ERR "rodata_test: Test 3 fails (end data)\n");
61 return -ENODEV; 61 return -ENODEV;
62 } 62 }
63 /* test 4: check if the rodata section is 4Kb aligned */ 63 /* test 4: check if the rodata section is 4Kb aligned */