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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 20 Nov 2018 10:28:43 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     vincentc@...estech.com
Cc:     gregkh@...uxfoundation.org, rdunlap@...radead.org,
        yuehaibing@...wei.com, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: faraday: ftmac100: remove netif_running(netdev)
 check before disabling interrupts

aFrom: Vincent Chen <vincentc@...estech.com>
Date: Tue, 20 Nov 2018 13:37:46 +0800

> +	/* Disable interrupts for polling */
> +	ftmac100_disable_all_int(priv);
>  	if (likely(netif_running(netdev))) {
> -		/* Disable interrupts for polling */
> -		ftmac100_disable_all_int(priv);
>  		napi_schedule(&priv->napi);
>  	}

This is now a single-line basic block, so please remove the curly
braces.

Thank you.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ