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 in
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 integ