]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'r8169-phy-func-ptr-arrays'
authorDavid S. Miller <davem@davemloft.net>
Sun, 14 Apr 2019 20:50:05 +0000 (13:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Apr 2019 20:50:05 +0000 (13:50 -0700)
commite12de5926a8ce2eb2e818bf5336575debbe4305d
tree83ef818d93be39c4bcb7a9ec914f22268255730d
parentbf6b64a79c90f64bcec156cdc7082b4863fafcc1
parent2cb0109bedff1c50ceae33485397c216ff3d3b18
Merge branch 'r8169-phy-func-ptr-arrays'

Heiner Kallweit says:

====================
r8169: create function pointer arrays for PHY and chip hw init functions

Using function pointer arrays makes the code easier to read and better
maintainable. AFAIK function pointer arrays cause some performance
drawback due to Spectre mitigation, but we're not in a hot path.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>