• J
    x86: uv_bau.h: fix dubious bitfield · fa95826f
    Jaswinder Singh Rajput 提交于
    Impact: cleanup, avoid sparse warnings
    
    declare bitfield as unsigned to avoid dubious bitfield issue
    
     CHECK   arch/x86/kernel/tlb_64.c
    arch/x86/include/asm/uv/uv_bau.h:136:22: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:138:25: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:140:15: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:143:14: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:146:14: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:149:18: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:151:18: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:155:14: error: dubious one-bit signed bitfield
    arch/x86/include/asm/uv/uv_bau.h:159:18: error: dubious one-bit signed bitfield
    arch/x86/include/asm/uv/uv_bau.h:173:19: error: dubious one-bit signed bitfield
    arch/x86/include/asm/uv/uv_bau.h:181:16: error: dubious one-bit signed bitfield
    arch/x86/include/asm/uv/uv_bau.h:185:18: error: dubious one-bit signed bitfield
    arch/x86/include/asm/uv/uv_bau.h:188:16: error: dubious one-bit signed bitfield
    
     CHECK   arch/x86/kernel/tlb_uv.c
    arch/x86/include/asm/uv/uv_bau.h:136:22: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:138:25: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:140:15: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:143:14: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:146:14: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:149:18: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:151:18: warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/x86/include/asm/uv/uv_bau.h:155:14: error: dubious one-bit signed bitfield
    arch/x86/include/asm/uv/uv_bau.h:159:18: error: dubious one-bit signed bitfield
    arch/x86/include/asm/uv/uv_bau.h:173:19: error: dubious one-bit signed bitfield
    arch/x86/include/asm/uv/uv_bau.h:181:16: error: dubious one-bit signed bitfield
    arch/x86/include/asm/uv/uv_bau.h:185:18: error: dubious one-bit signed bitfield
    arch/x86/include/asm/uv/uv_bau.h:188:16: error: dubious one-bit signed bitfield
    Signed-off-by: NJaswinder Singh Rajput <jaswinderrajput@gmail.com>
    Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
    fa95826f
uv_bau.h 10.6 KB