[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190826152814.GC2168@lunn.ch>
Date: Mon, 26 Aug 2019 17:28:14 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Marek BehĂșn <marek.behun@....cz>
Cc: netdev@...r.kernel.org, Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>
Subject: Re: [PATCH net-next v4 3/6] net: dsa: mv88e6xxx: create
serdes_get_lane chip operation
> -int mv88e6390x_serdes_get_lane(struct mv88e6xxx_chip *chip, int port)
> +int mv88e6390x_serdes_get_lane(struct mv88e6xxx_chip *chip, int port, s8 *lane)
> {
> u8 cmode_port9, cmode_port10, cmode_port;
>
> @@ -323,76 +320,80 @@ int mv88e6390x_serdes_get_lane(struct mv88e6xxx_chip *chip, int port)
> cmode_port10 = chip->ports[10].cmode;
> cmode_port = chip->ports[port].cmode;
>
> + *lane = -1;
> +
You could move that into mv88e8xxx_serdes_get_lane().
Otherwise
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists