Re: [GIT pull] x86 updates for 3.11
From: Linus Torvalds
Date: Sat Jul 13 2013 - 18:40:47 EST
On Sat, Jul 13, 2013 at 4:21 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> * Guarantee IDT page alignment
What the F*CK, guys?
This piece-of-shit commit is marked for stable, but you clearly never
even test-compiled it, did you?
Because on x86-64 (the which is the only place where the patch
matters), I don't see how you could have avoided this honking huge
warning otherwise:
arch/x86/kernel/traps.c:74:1: warning: braces around scalar
initializer [enabled by default]
gate_desc idt_table[NR_VECTORS] __page_aligned_data = { { { { 0, 0 } } }, };
^
arch/x86/kernel/traps.c:74:1: warning: (near initialization for
âidt_table[0].offset_lowâ) [enabled by default]
arch/x86/kernel/traps.c:74:1: warning: braces around scalar
initializer [enabled by default]
arch/x86/kernel/traps.c:74:1: warning: (near initialization for
âidt_table[0].offset_lowâ) [enabled by default]
arch/x86/kernel/traps.c:74:1: warning: excess elements in scalar
initializer [enabled by default]
arch/x86/kernel/traps.c:74:1: warning: (near initialization for
âidt_table[0].offset_lowâ) [enabled by default]
and I don't think this is compiler-specific, because that code is
crap. The declaration for gate_desc is very very different for 32-bit
and 64-bit x86 for whatever braindamaged reasons.
Seriously, WTF? I made the mistake of doing multiple merges
back-to-back with the intention of not doing a full allmodconfig build
in between them, and now I have to undo them all because this pull
request was full of unbelievable shit.
And why the hell was this marked for stable even *IF* it hadn't been
complete and utter tripe? It even has a comment in the commit message
about how this probably doesn't matter. So it's doubly crap: it's
*wrong*, and it didn't actually fix anything to begin with.
There aren't enough swear-words in the English language, so now I'll
have to call you perkeleen vittupÃÃ just to express my disgust and
frustration with this crap.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/