mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
RISC-V: KVM: Remove unneeded semicolon
./arch/riscv/kvm/aia_imsic.c:94:2-3: Unneeded semicolon ./arch/riscv/kvm/aia_imsic.c:134:2-3: Unneeded semicolon ./arch/riscv/kvm/aia_imsic.c:173:2-3: Unneeded semicolon ./arch/riscv/kvm/aia_imsic.c:210:2-3: Unneeded semicolon ./arch/riscv/kvm/aia_imsic.c:296:2-3: Unneeded semicolon ./arch/riscv/kvm/aia_imsic.c:354:2-3: Unneeded semicolon ./arch/riscv/kvm/aia_device.c:105:4-5: Unneeded semicolon ./arch/riscv/kvm/aia_device.c:166:2-3: Unneeded semicolon Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5569 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
parent
d75b336225
commit
07f225b584
@ -102,7 +102,7 @@ static int aia_config(struct kvm *kvm, unsigned long type,
|
||||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
};
|
||||
}
|
||||
aia->mode = *nr;
|
||||
} else
|
||||
*nr = aia->mode;
|
||||
@ -163,7 +163,7 @@ static int aia_config(struct kvm *kvm, unsigned long type,
|
||||
break;
|
||||
default:
|
||||
return -ENXIO;
|
||||
};
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ static unsigned long imsic_eix_read(int ireg)
|
||||
switch (ireg) {
|
||||
imsic_read_switchcase_64(IMSIC_EIP0)
|
||||
imsic_read_switchcase_64(IMSIC_EIE0)
|
||||
};
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -132,7 +132,7 @@ static unsigned long imsic_eix_swap(int ireg, unsigned long val)
|
||||
switch (ireg) {
|
||||
imsic_swap_switchcase_64(IMSIC_EIP0, val)
|
||||
imsic_swap_switchcase_64(IMSIC_EIE0, val)
|
||||
};
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -171,7 +171,7 @@ static void imsic_eix_write(int ireg, unsigned long val)
|
||||
switch (ireg) {
|
||||
imsic_write_switchcase_64(IMSIC_EIP0, val)
|
||||
imsic_write_switchcase_64(IMSIC_EIE0, val)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#define imsic_vs_csr_set(__c, __v) \
|
||||
@ -208,7 +208,7 @@ static void imsic_eix_set(int ireg, unsigned long val)
|
||||
switch (ireg) {
|
||||
imsic_set_switchcase_64(IMSIC_EIP0, val)
|
||||
imsic_set_switchcase_64(IMSIC_EIE0, val)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
static unsigned long imsic_mrif_atomic_rmw(struct imsic_mrif *mrif,
|
||||
@ -294,7 +294,7 @@ static int imsic_mrif_isel_check(u32 nr_eix, unsigned long isel)
|
||||
break;
|
||||
default:
|
||||
return -ENOENT;
|
||||
};
|
||||
}
|
||||
#ifndef CONFIG_32BIT
|
||||
if (num & 0x1)
|
||||
return -EINVAL;
|
||||
@ -352,7 +352,7 @@ static int imsic_mrif_rmw(struct imsic_mrif *mrif, u32 nr_eix,
|
||||
break;
|
||||
default:
|
||||
return -ENOENT;
|
||||
};
|
||||
}
|
||||
|
||||
if (val)
|
||||
*val = old_val;
|
||||
|
Loading…
Reference in New Issue
Block a user