LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] arm64: remove redundant blank for '=' operator
@ 2020-03-11 6:52 韩科才
2020-03-17 22:06 ` Will Deacon
0 siblings, 1 reply; 2+ messages in thread
From: 韩科才 @ 2020-03-11 6:52 UTC (permalink / raw)
To: catalin.marinas, will, suzuki.poulose, Dave.Martin, broonie,
amurray, jeremy.linton, tglx
Cc: trivial, linux-arm-kernel, linux-kernel, 王文虎
remove redundant blank for '=' operator, it may be more elegant.
Signed-off-by: hankecai <hankecai@vivo.com>
---
arch/arm64/kernel/cpufeature.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
index 0b6715625cf6..ce60d1012bfa 100644
--- a/arch/arm64/kernel/cpufeature.c
+++ b/arch/arm64/kernel/cpufeature.c
@@ -551,7 +551,7 @@ static void __init init_cpu_ftr_reg(u32 sys_reg, u64 new)
BUG_ON(!reg);
- for (ftrp = reg->ftr_bits; ftrp->width; ftrp++) {
+ for (ftrp = reg->ftr_bits; ftrp->width; ftrp++) {
u64 ftr_mask = arm64_ftr_mask(ftrp);
s64 ftr_new = arm64_ftr_value(ftrp, new);
--
2.21.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: remove redundant blank for '=' operator
2020-03-11 6:52 [PATCH] arm64: remove redundant blank for '=' operator 韩科才
@ 2020-03-17 22:06 ` Will Deacon
0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2020-03-17 22:06 UTC (permalink / raw)
To: 韩科才
Cc: catalin.marinas, suzuki.poulose, Dave.Martin, broonie, amurray,
jeremy.linton, tglx, 王文虎,
trivial, linux-kernel, linux-arm-kernel
On Wed, Mar 11, 2020 at 02:52:49PM +0800, 韩科才 wrote:
> remove redundant blank for '=' operator, it may be more elegant.
>
> Signed-off-by: hankecai <hankecai@vivo.com>
> ---
> arch/arm64/kernel/cpufeature.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
> index 0b6715625cf6..ce60d1012bfa 100644
> --- a/arch/arm64/kernel/cpufeature.c
> +++ b/arch/arm64/kernel/cpufeature.c
> @@ -551,7 +551,7 @@ static void __init init_cpu_ftr_reg(u32 sys_reg, u64 new)
>
> BUG_ON(!reg);
>
> - for (ftrp = reg->ftr_bits; ftrp->width; ftrp++) {
> + for (ftrp = reg->ftr_bits; ftrp->width; ftrp++) {
> u64 ftr_mask = arm64_ftr_mask(ftrp);
> s64 ftr_new = arm64_ftr_value(ftrp, new);
Acked-by: Will Deacon <will@kernel.org>
Will
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-17 22:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-11 6:52 [PATCH] arm64: remove redundant blank for '=' operator 韩科才
2020-03-17 22:06 ` Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).