Searched hist:"60 d234c583b2f19eb9c541b6fc89a8cec8ddcf4d" (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/netgraph/ |
H A D | ng_pppoe.h | diff 60d234c583b2f19eb9c541b6fc89a8cec8ddcf4d Tue Mar 03 19:47:33 CET 2009 Ed Schouten <ed@FreeBSD.org> Make Netgraph compile with Clang.
Clang disallows structs with variable length arrays to be nested inside other structs, because this is in violation with ISO C99. Even though we can keep bugging the LLVM folks about this issue, we'd better just fix our code to not do this. This code seems to be the only code in the entire source tree that does this.
I haven't tested this patch by using the kernel modules in question, but Diane Bruce and I have compared disassembled versions of these kernel modules. We would have expected them to be exactly the same, but due to randomness in the register allocator and reordering of instructions, there were some minor differences.
Approved by: julian diff 60d234c583b2f19eb9c541b6fc89a8cec8ddcf4d Tue Mar 03 19:47:33 CET 2009 Ed Schouten <ed@FreeBSD.org> Make Netgraph compile with Clang.
Clang disallows structs with variable length arrays to be nested inside other structs, because this is in violation with ISO C99. Even though we can keep bugging the LLVM folks about this issue, we'd better just fix our code to not do this. This code seems to be the only code in the entire source tree that does this.
I haven't tested this patch by using the kernel modules in question, but Diane Bruce and I have compared disassembled versions of these kernel modules. We would have expected them to be exactly the same, but due to randomness in the register allocator and reordering of instructions, there were some minor differences.
Approved by: julian
|
H A D | ng_pppoe.c | diff 60d234c583b2f19eb9c541b6fc89a8cec8ddcf4d Tue Mar 03 19:47:33 CET 2009 Ed Schouten <ed@FreeBSD.org> Make Netgraph compile with Clang.
Clang disallows structs with variable length arrays to be nested inside other structs, because this is in violation with ISO C99. Even though we can keep bugging the LLVM folks about this issue, we'd better just fix our code to not do this. This code seems to be the only code in the entire source tree that does this.
I haven't tested this patch by using the kernel modules in question, but Diane Bruce and I have compared disassembled versions of these kernel modules. We would have expected them to be exactly the same, but due to randomness in the register allocator and reordering of instructions, there were some minor differences.
Approved by: julian diff 60d234c583b2f19eb9c541b6fc89a8cec8ddcf4d Tue Mar 03 19:47:33 CET 2009 Ed Schouten <ed@FreeBSD.org> Make Netgraph compile with Clang.
Clang disallows structs with variable length arrays to be nested inside other structs, because this is in violation with ISO C99. Even though we can keep bugging the LLVM folks about this issue, we'd better just fix our code to not do this. This code seems to be the only code in the entire source tree that does this.
I haven't tested this patch by using the kernel modules in question, but Diane Bruce and I have compared disassembled versions of these kernel modules. We would have expected them to be exactly the same, but due to randomness in the register allocator and reordering of instructions, there were some minor differences.
Approved by: julian
|