• Li Yang's avatar
    soc: fsl: qe: fix sparse warnings for ucc_fast.c · b1be4a22
    Li Yang authored
    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: default avatarLi Yang <leoyang.li@nxp.com>
    Reviewed-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
    b1be4a22
ucc_fast.h 8.36 KB