OSDN Git Service

Merge branch 'pcs_get_state-fixes'
authorDavid S. Miller <davem@davemloft.net>
Fri, 17 Mar 2023 08:19:03 +0000 (08:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Mar 2023 08:19:03 +0000 (08:19 +0000)
commite05c518196c4ea72c1e84620f2e0251d25858a97
treed39ef5ce2a052494b8c62aa4ae0e79a52d0cf0b9
parentabf36703d7046cd0aaf5ac5524d321851fb6bf03
parentecec0ebbc6381a5a375f1cf10c4858f24e91e2ef
Merge branch 'pcs_get_state-fixes'

Russell King (Oracle) says:

====================
Minor fixes for pcs_get_state() implementations

This series contains a number fixes for minor issues with some
pcs_get_state() implementations, particualrly for the phylink
state->an_enabled member. As they are minor, I'm suggesting we
queue them in net-next as there is follow-on work for these, and
there is no urgency for them to be in -rc.

Just like phylib, state->advertising's Autoneg bit is a copy of
state->an_enabled, and thus it is my intention to remove
state->an_enabled from phylink to simplify things.

This series gets rid of state->an_enabled assignments or
reporting that should never have been there.
====================

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