soc: fsl: qe: fix sparse warnings for ucc_fast.c
authorLi Yang <leoyang.li@nxp.com>
Thu, 12 Mar 2020 21:06:37 +0000 (16:06 -0500)
committerLi Yang <leoyang.li@nxp.com>
Wed, 25 Mar 2020 00:02:23 +0000 (19:02 -0500)
commitb1be4a228086d558ba0efc3f12a82ab6fbca63f3
treecea9c3bd99a17c2aecd6f1439ef779c04d396334
parent45e044c7dc7534c390ea07ac326fa0b6a12bebfa
soc: fsl: qe: fix sparse warnings for ucc_fast.c

Fixes the following sparse warnings:

drivers/soc/fsl/qe/ucc_fast.c:218:22: warning: incorrect type in assignment (different base types)
drivers/soc/fsl/qe/ucc_fast.c:218:22:    expected unsigned int [noderef] [usertype] <asn:2> *p_ucce
drivers/soc/fsl/qe/ucc_fast.c:218:22:    got restricted __be32 [noderef] <asn:2> *
drivers/soc/fsl/qe/ucc_fast.c:219:22: warning: incorrect type in assignment (different base types)
drivers/soc/fsl/qe/ucc_fast.c:219:22:    expected unsigned int [noderef] [usertype] <asn:2> *p_uccm
drivers/soc/fsl/qe/ucc_fast.c:219:22:    got restricted __be32 [noderef] <asn:2> *

Signed-off-by: Li Yang <leoyang.li@nxp.com>
Reviewed-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
include/soc/fsl/qe/ucc_fast.h