Skip to content

Commit

Permalink
RISC-V: Fix minor checkpatch issues.
Browse files Browse the repository at this point in the history
While working on the patches, I found some minor checkpatch issues.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
  • Loading branch information
Atish Patra authored and Palmer Dabbelt committed May 17, 2019
1 parent 8b4302a commit f1f47c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/riscv/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ unsigned long __cpuid_to_hartid_map[NR_CPUS] = {

void __init smp_setup_processor_id(void)
{
cpuid_to_hartid_map(0) = boot_cpu_hartid;
cpuid_to_hartid_map(0) = boot_cpu_hartid;
}

/* A collection of single bit ipi messages. */
Expand All @@ -53,7 +53,7 @@ static struct {

int riscv_hartid_to_cpuid(int hartid)
{
int i = -1;
int i;

for (i = 0; i < NR_CPUS; i++)
if (cpuid_to_hartid_map(i) == hartid)
Expand Down

0 comments on commit f1f47c6

Please sign in to comment.