• Christophe Ricard's avatar
    NFC: Fix warning "warning: incorrect type in assignment" · e5b53c0a
    Christophe Ricard authored
    Fix warnings:
    net/nfc/llcp_commands.c:421:14: warning: incorrect type in assignment (different base types)
    net/nfc/llcp_commands.c:421:14:    expected unsigned short [unsigned] [usertype] miux
    net/nfc/llcp_commands.c:421:14:    got restricted __be16
    net/nfc/llcp_commands.c:477:14: warning: incorrect type in assignment (different base types)
    net/nfc/llcp_commands.c:477:14:    expected unsigned short [unsigned] [usertype] miux
    net/nfc/llcp_commands.c:477:14:    got restricted __be16
    
    Procedure to reproduce:
    make ARCH=x86_64 allmodconfig
    make C=1 CF=-D__CHECK_ENDIAN__
    Signed-off-by: default avatarChristophe Ricard <christophe-h.ricard@st.com>
    Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
    e5b53c0a
llcp_commands.c 16.5 KB