error: ‘target’ may be used uninitialized in arch/mips/net/ebpf_jit.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

I see the following compiler error when I turn on CONFIG_MIPS_EBPF_JIT with v4.13 and v4.14-rc1 (cavium_octeon_defconfig based)

This is with gcc:

gcc version 4.9.2 (Codescape GNU Tools 2016.05-03 for MIPS MTI Linux)


arch/mips/net/ebpf_jit.c: In function ‘build_one_insn’:
arch/mips/net/ebpf_jit.c:1119:80: error: ‘target’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
    emit_instr(ctx, j, target);
^
cc1: all warnings being treated as errors


This appears to have been the case since the ebpf_jit was merged in b6bd53f9c4e825fca82fe1392157c78443c814ab.

Thanks,

Matt



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux