| Date | Fri, 6 May 2016 00:59:44 +0200 | From | Andrew Lunn <> | Subject | Re: [RFC PATCH net-next 01/20] net: dsa: mv88e6xxx: factorize PHY access with PPU |
| |
> -static int mv88e6xxx_ppu_access_get(struct mv88e6xxx_priv_state *ps) > +static int _mv88e6xxx_ppu_access_get(struct mv88e6xxx_priv_state *ps)
Hi Vivien
We agreed to stop adding _ to functions that assume the lock has been taken. Now that we check the lock is held in lowest level function, it quickly becomes clear if the locks are wrong. It either deadlocks, or it prints a warning when there is an error.
Please don't rename these functions.
Andrew
|