drivers: net: add const to mii_phy_ops structures
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drivers/net/sungem: add const to mii_phy_ops structuresdrivers/ | +13 | 0 replies | |
| 2/2 | drivers: net: emac: add const to mii_phy_ops structuresdrivers/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] drivers: net: add const to mii_phy_ops structures
The object references of mii_phy_ops structures are only stored in the ops field of a mii_phy_def structure. This ops field is of type const. So, mii_phy_ops structures having similar properties can be declared as const.
Bhumika Goyal (2):
drivers/net/sungem: add const to mii_phy_ops structures
drivers: net: emac: add const to mii_phy_ops structures
drivers/net/ethernet/ibm/emac/phy.c | 12 ++++++------ drivers/net/sungem_phy.c | 26 +++++++++++++------------- 2 files changed, 19 insertions(+), 19 deletions(-)
Signature · 1 line
2.7.4