network bug in 3.6.11.7
Hi Steve,
I get the following warnings when compiling 3.6.11.7-rt39:
net/core/sock.c:212: warning: excess elements in array initializer net/core/sock.c:212: warning: (near initialization for 'af_family_key_strings') net/core/sock.c:228: warning: excess elements in array initializer net/core/sock.c:228: warning: (near initialization for 'af_family_slock_key_strings') net/core/sock.c:244: warning: excess elements in array initializer net/core/sock.c:244: warning: (near initialization for 'af_family_clock_key_strings')
I traced it down to the patch
"net/core/sock.c: add missing VSOCK string in af_family_*_key_strings"
This is really a fixup to a much larger patch (6,000 lines) in mainline called "VSOCK: Introduce VM Sockets", which was not backport to 3.6.11.7.
It might be best for 3.6.11.7 to to drop the VSOCK fixup patch.
Regards,
Joe
Quoted 10 lines · On Tue, 20 Aug 2013 13:15:14 -0400 Joe Korty <[email protected]> wrote:
Hi Steve,
I get the following warnings when compiling 3.6.11.7-rt39:
net/core/sock.c:212: warning: excess elements in array initializernet/core/sock.c:212: warning: (near initialization for 'af_family_key_strings')net/core/sock.c:228: warning: excess elements in array initializernet/core/sock.c:228: warning: (near initialization for 'af_family_slock_key_strings')net/core/sock.c:244: warning: excess elements in array initializernet/core/sock.c:244: warning: (near initialization for 'af_family_clock_key_strings')
Quoted 8 lines
I traced it down to the patch
"net/core/sock.c: add missing VSOCK string in af_family_*_key_strings"This is really a fixup to a much larger patch (6,000 lines) in mainline called "VSOCK: Introduce VM Sockets", which was not backport to 3.6.11.7.
It might be best for 3.6.11.7 to to drop the VSOCK fixup patch.
Thanks for reporting! I'll drop that patch.
-- Steve
irq remapping bug in 3.6.11.7
In reply to Joe KortyHi Steve,
I get these warnings from 3.6.11.7:
In file included from arch/x86/kernel/early-quirks.c:21:
arch/x86/include/asm/irq_remapping.h:50: warning: 'struct msi_msg' declared inside parameter list arch/x86/include/asm/irq_remapping.h:50: warning: its scope is only this definition or declaration, which is probably not what you want
The bug is due to the following mainline patch being missing from 3.6.7.11, which 3.6.11.7 requires for proper operation:
commit 35d3d814cbd46a85bed97cd74ba97fbbb51e0ccd "iommu: Fix compile warnings with forward declarations"
Regards,
Joe