Skip to content

Commit

Permalink
arch/powerpc: Fix continuation line formats
Browse files Browse the repository at this point in the history
String constants that are continued on subsequent lines with \
are not good.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Joe Perches authored and Benjamin Herrenschmidt committed Feb 9, 2010
1 parent 25ef231 commit 5a2ad98
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions arch/powerpc/kernel/nvram_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@ static int __init nvram_create_os_partition(void)

rc = nvram_write_header(new_part);
if (rc <= 0) {
printk(KERN_ERR "nvram_create_os_partition: nvram_write_header \
failed (%d)\n", rc);
printk(KERN_ERR "nvram_create_os_partition: nvram_write_header "
"failed (%d)\n", rc);
return rc;
}

Expand All @@ -349,7 +349,7 @@ static int __init nvram_create_os_partition(void)
rc = ppc_md.nvram_write((char *)&seq_init, sizeof(seq_init), &tmp_index);
if (rc <= 0) {
printk(KERN_ERR "nvram_create_os_partition: nvram_write "
"failed (%d)\n", rc);
"failed (%d)\n", rc);
return rc;
}

Expand Down
8 changes: 4 additions & 4 deletions arch/powerpc/platforms/pseries/hotplug-cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,12 +397,12 @@ static int parse_cede_parameters(void)
CEDE_LATENCY_PARAM_MAX_LENGTH);

if (call_status != 0)
printk(KERN_INFO "CEDE_LATENCY: \
%s %s Error calling get-system-parameter(0x%x)\n",
printk(KERN_INFO "CEDE_LATENCY: "
"%s %s Error calling get-system-parameter(0x%x)\n",
__FILE__, __func__, call_status);
else
printk(KERN_INFO "CEDE_LATENCY: \
get-system-parameter successful.\n");
printk(KERN_INFO "CEDE_LATENCY: "
"get-system-parameter successful.\n");

return call_status;
}
Expand Down
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/pseries/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ static void __devinit smp_pSeries_kick_cpu(int nr)
hcpuid = get_hard_smp_processor_id(nr);
rc = plpar_hcall_norets(H_PROD, hcpuid);
if (rc != H_SUCCESS)
printk(KERN_ERR "Error: Prod to wake up processor %d\
Ret= %ld\n", nr, rc);
printk(KERN_ERR "Error: Prod to wake up processor %d "
"Ret= %ld\n", nr, rc);
}
}

Expand Down

0 comments on commit 5a2ad98

Please sign in to comment.