lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 14 Dec 2021 10:31:22 +0100
From:   Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To:     Jason Wang <wangborong@...rlc.com>
Cc:     john@...ozen.org, linux-mips@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] MIPS: lantiq: Fix typo in a comment

On Sat, Dec 11, 2021 at 04:54:18PM +0800, Jason Wang wrote:
> The double `if' in the comment in line 144 is repeated. Remove one
> of them from the comment.
> 
> Signed-off-by: Jason Wang <wangborong@...rlc.com>
> ---
>  arch/mips/lantiq/falcon/sysctrl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c
> index 42222f849bd2..64726c670ca6 100644
> --- a/arch/mips/lantiq/falcon/sysctrl.c
> +++ b/arch/mips/lantiq/falcon/sysctrl.c
> @@ -141,7 +141,7 @@ static void falcon_gpe_enable(void)
>  	unsigned int freq;
>  	unsigned int status;
>  
> -	/* if if the clock is already enabled */
> +	/* if the clock is already enabled */
>  	status = sysctl_r32(SYSCTL_SYS1, SYS1_INFRAC);
>  	if (status & (1 << (GPPC_OFFSET + 1)))
>  		return;
> -- 
> 2.34.1

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ