• Vineet Gupta's avatar
    ARC: make allyesconfig build breakages · 1540c85b
    Vineet Gupta authored
      CC      drivers/mmc/host/mmc_spi.o
    drivers/mmc/host/mmc_spi.c:118: error: redefinition of 'struct scratch'
    make[3]: *** [drivers/mmc/host/mmc_spi.o] Error 1
    make[2]: *** [drivers/mmc/host] Error 2
    make[1]: *** [drivers/mmc] Error 2
    make: *** [drivers] Error 2
    
      CC      arch/arc/kernel/kgdb.o
    In file included from include/linux/kgdb.h:20,
                     from arch/arc/kernel/kgdb.c:11:
    /home/vineetg/arc/k.org/arc-port/arch/arc/include/asm/kgdb.h:34:
    warning: 'struct pt_regs' declared inside parameter list
    /home/vineetg/arc/k.org/arc-port/arch/arc/include/asm/kgdb.h:34:
    warning: its scope is only this definition or declaration, which is
    probably not what you want
    arch/arc/kernel/kgdb.c:172: error: conflicting types for 'kgdb_trap'
    
      CC      arch/arc/kernel/kgdb.o
    arch/arc/kernel/kgdb.c: In function 'pt_regs_to_gdb_regs':
    arch/arc/kernel/kgdb.c:62: error: dereferencing pointer to incomplete
    type
    Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
    1540c85b
kgdb.h 1.21 KB