netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] drivers/net/phy C=1 W=1 fixes
@ 2020-07-05 18:29 Andrew Lunn
  2020-07-05 18:29 ` [PATCH net-next 1/7] net: phy: at803x: Avoid comparison is always false warning Andrew Lunn
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Andrew Lunn @ 2020-07-05 18:29 UTC (permalink / raw)
  To: David Miller
  Cc: netdev, Florian Fainelli, Heiner Kallweit, Andrew Lunn,
	Alexandru Ardelean, Richard Cochran, Sunil Goutham,
	Robert Richter, Chris Packham, Greg Kroah-Hartman

This fixed most of the Sparse and W=1 warnings in drivers/net/phy. The
Cavium code is still not fully clean, but it might actually be the
strange code is confusing Sparse.

GregKH: Is it O.K. to take the last patch via netdev, not staging?

Cc: Alexandru Ardelean <alexaundru.ardelean@analog.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Sunil Goutham <sgoutham@marvell.com>
Cc: Robert Richter <rrichter@marvell.com>
Cc: Sunil Goutham <sgoutham@marvell.com>
Cc: Robert Richter <rrichter@marvell.com>
Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Andrew Lunn (7):
  net: phy: at803x: Avoid comparison is always false warning
  net: phy: Fixup parameters in kerneldoc
  net: phy: Properly define genphy_c45_driver
  net: phy: Make  phy_10gbit_fec_features_array static
  net: phy: dp83640: Fixup cast to restricted __be16 warning
  net: phy: cavium: Improve __iomem mess
  net: phy: mdio-octeon: Cleanup module loading dependencies

 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c |  6 +-----
 drivers/net/phy/adin.c                           | 12 ++++++------
 drivers/net/phy/at803x.c                         |  7 +++----
 drivers/net/phy/dp83640.c                        |  5 +++--
 drivers/net/phy/mdio-boardinfo.c                 |  3 ++-
 drivers/net/phy/mdio-cavium.h                    | 14 +++++++-------
 drivers/net/phy/mdio-octeon.c                    | 11 ++---------
 drivers/net/phy/mdio-thunder.c                   |  2 +-
 drivers/net/phy/mdio_device.c                    |  2 +-
 drivers/net/phy/phy_device.c                     |  4 +---
 drivers/staging/octeon/ethernet-mdio.c           |  2 +-
 drivers/staging/octeon/ethernet-mdio.h           |  2 --
 drivers/staging/octeon/ethernet.c                |  2 --
 include/linux/phy.h                              |  3 +++
 14 files changed, 31 insertions(+), 44 deletions(-)

-- 
2.27.0.rc2


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-07-07  0:30 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-05 18:29 [PATCH net-next 0/7] drivers/net/phy C=1 W=1 fixes Andrew Lunn
2020-07-05 18:29 ` [PATCH net-next 1/7] net: phy: at803x: Avoid comparison is always false warning Andrew Lunn
2020-07-06 18:06   ` Jakub Kicinski
2020-07-05 18:29 ` [PATCH net-next 2/7] net: phy: Fixup parameters in kerneldoc Andrew Lunn
2020-07-05 20:44   ` Florian Fainelli
2020-07-05 18:29 ` [PATCH net-next 3/7] net: phy: Properly define genphy_c45_driver Andrew Lunn
2020-07-05 20:45   ` Florian Fainelli
2020-07-05 18:29 ` [PATCH net-next 4/7] net: phy: Make phy_10gbit_fec_features_array static Andrew Lunn
2020-07-05 20:45   ` Florian Fainelli
2020-07-05 18:29 ` [PATCH net-next 5/7] net: phy: dp83640: Fixup cast to restricted __be16 warning Andrew Lunn
2020-07-05 20:45   ` Florian Fainelli
2020-07-06  6:37     ` Richard Cochran
2020-07-05 18:29 ` [PATCH net-next 6/7] net: phy: cavium: Improve __iomem mess Andrew Lunn
2020-07-05 20:46   ` Florian Fainelli
2020-07-05 18:29 ` [PATCH net-next 7/7] net: phy: mdio-octeon: Cleanup module loading dependencies Andrew Lunn
2020-07-05 20:50   ` Florian Fainelli
2020-07-06 10:38   ` Greg Kroah-Hartman
2020-07-07  0:30   ` Chris Packham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).