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] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 8 Jun 2017 04:31:58 +0300
From:   Andy Shevchenko <andy.shevchenko@...il.com>
To:     Mario Molitor <Mario_Molitor@....de>
Cc:     Giuseppe CAVALLARO <peppe.cavallaro@...com>,
        Alexandre TORGUE <alexandre.torgue@...com>,
        netdev <netdev@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2(net.git)] stmmac: fix for hw timestamp of GMAC3 unit

On Wed, Jun 7, 2017 at 11:45 AM, Mario Molitor <Mario_Molitor@....de> wrote:

>  exit:
> -       return ret;

> +       if (likely(ret == 0))
> +               return 1;
> +       else
> +               return 0;

else is redundant.


-- 
With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ