[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180904.122315.1164590585525043783.davem@davemloft.net>
Date: Tue, 04 Sep 2018 12:23:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: andrew@...n.ch
Cc: netdev@...r.kernel.org, rmk+kernel@....linux.org.uk,
f.fainelli@...il.com
Subject: Re: [PATCH net] net: phy: sfp: Handle unimplemented hwmon limits
and alarms
From: Andrew Lunn <andrew@...n.ch>
Date: Tue, 4 Sep 2018 04:23:56 +0200
> Not all SFPs implement the registers containing sensor limits and
> alarms. Luckily, there is a bit indicating if they are implemented or
> not. Add checking for this bit, when deciding if the hwmon attributes
> should be visible.
>
> Fixes: 1323061a018a ("net: phy: sfp: Add HWMON support for module sensors")
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
Applied, thanks Andrew.
Powered by blists - more mailing lists