[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201102133408.GG1109407@lunn.ch>
Date: Mon, 2 Nov 2020 14:34:08 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Pavana Sharma <pavana.sharma@...i.com>
Cc: marek.behun@....cz, ashkan.boldaji@...i.com, davem@...emloft.net,
f.fainelli@...il.com, gregkh@...uxfoundation.org, kuba@...nel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
vivien.didelot@...il.com
Subject: Re: [PATCH v7 3/4] net: dsa: mv88e6xxx: Change serdes lane parameter
from u8 type to int
> @@ -985,12 +985,12 @@ int mv88e6390_serdes_get_regs_len(struct mv88e6xxx_chip *chip, int port)
> void mv88e6390_serdes_get_regs(struct mv88e6xxx_chip *chip, int port, void *_p)
> {
> u16 *p = _p;
> - int lane;
> + int lane = -ENODEV;
> u16 reg;
> int i;
The reverse christmas tree is wrong here.
Andrew
Powered by blists - more mailing lists