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]
Message-ID: <CAGVrzcbeFpd+7xgxPNVUW-TEVEeP+wh+XvVkgwvnQBJk7OqHCw@mail.gmail.com>
Date:	Mon, 7 Apr 2014 18:09:00 -0700
From:	Florian Fainelli <f.fainelli@...il.com>
To:	David Miller <davem@...emloft.net>
Cc:	kumaran.4353@...il.com, netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net] Remove unnecessary condition check in phy

2014-04-07 11:58 GMT-07:00 David Miller <davem@...emloft.net>:
> From: Balakumaran Kannan <kumaran.4353@...il.com>
> Date: Sat, 05 Apr 2014 13:00:16 +0530
>
>> This condition check makes no difference in the code flow since 3.10
>>
>> Signed-off-by: Balakumaran Kannan <kumaran.4353@...il.com>
>
> The big questions is, was this intentional?

It was before a33e6112d9b0 ("phy: Elimination the forced speed
reduction algorithm") because the PHY having PHY_HAS_MAGICANEG set
would not go through the PHY speed reduction algorithm. Now, this is
useless as there is a subsequent break and no conditional code based
on PHY_HAS_MAGICANEG (which means that we should also kill its usage
at some point).

Feel free to add my reviewed-by tag after fixing the mangling David spotted.

Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
-- 
Florian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ