lkml.org 
[lkml]   [2020]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@bootlin.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

Andrew

\
 
 \ /
  Last update: 2020-06-25 18:47    [W:0.065 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site