[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200625164635.GM442307@lunn.ch>
Date: Thu, 25 Jun 2020 18:46:35 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Antoine Tenart <antoine.tenart@...tlin.com>
Cc: davem@...emloft.net, f.fainelli@...il.com, hkallweit1@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
thomas.petazzoni@...tlin.com
Subject: Re: [PATCH net-next 1/8] net: phy: mscc: macsec: fix sparse warnings
On Thu, Jun 25, 2020 at 05:42:04PM +0200, Antoine Tenart wrote:
> This patch fixes the following sparse warnings when building MACsec
> support in the MSCC PHY driver.
>
> mscc_macsec.c:393:42: warning: cast from restricted sci_t
> mscc_macsec.c:395:42: warning: restricted sci_t degrades to integer
> mscc_macsec.c:402:42: warning: restricted __be16 degrades to integer
> mscc_macsec.c:608:34: warning: cast from restricted sci_t
> mscc_macsec.c:610:34: warning: restricted sci_t degrades to integer
>
> Signed-off-by: Antoine Tenart <antoine.tenart@...tlin.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists