• Andi Kleen's avatar
    [PATCH] Add sparse annotations to quiet sparse in arch/x86_64/mm/fault.c · dd2994f6
    Andi Kleen authored
    Fixes
    
    linux/arch/x86_64/mm/fault.c:125:7: warning: incorrect type in argument 1 (different address spaces)
    linux/arch/x86_64/mm/fault.c:125:7:    expected void [noderef] *<noident><asn:1>
    linux/arch/x86_64/mm/fault.c:125:7:    got unsigned char *[assigned] instr
    linux/arch/x86_64/mm/fault.c:163:8: warning: incorrect type in argument 1 (different address spaces)
    linux/arch/x86_64/mm/fault.c:163:8:    expected void [noderef] *<noident><asn:1>
    linux/arch/x86_64/mm/fault.c:163:8:    got unsigned char *[assigned] instr
    linux/arch/x86_64/mm/fault.c:179:9: warning: incorrect type in argument 1 (different address spaces)
    linux/arch/x86_64/mm/fault.c:179:9:    expected void [noderef] *<noident><asn:1>
    linux/arch/x86_64/mm/fault.c:179:9:    got unsigned long *<noident>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    dd2994f6
fault.c 17.5 KB