lkml.org 
[lkml]   [2020]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] arm64: remove redundant blank for '=' operator
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

\
 
 \ /
  Last update: 2020-03-17 23:06    [W:0.036 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site