Re: [PATCH] x86: coding style fixes to arch/x86/kernel/io_apic_32.c

From: Paolo Ciarrocchi
Date: Mon Jun 09 2008 - 16:59:51 EST


On Mon, Jun 9, 2008 at 9:02 PM, Ingo Molnar <mingo@xxxxxxx> wrote:
>
> * Paolo Ciarrocchi <paolo.ciarrocchi@xxxxxxxxx> wrote:
>
>> Before:
>> total: 91 errors, 73 warnings, 2850 lines checked
>>
>> After:
>> total: 1 errors, 47 warnings, 2848 lines checked
>
> applied, thanks. A small detail:

Thank you. Did you manage to look/apply the other two patches as well?
http://lkml.org/lkml/2008/6/7/64
http://lkml.org/lkml/2008/6/7/62

The latter might suffer for the same problem you fixed with the below patch.

>> +++ b/arch/x86/kernel/io_apic_32.c
>> @@ -37,12 +37,12 @@
>> #include <linux/kthread.h>
>> #include <linux/jiffies.h> /* time_after() */
>>
>> -#include <asm/io.h>
>> -#include <asm/smp.h>
>> +#include <linux/io.h>
>> +#include <linux/smp.h>
>
> i suspect checkpatch suggested that asm/smp.h -> linux/smp.h change, but
> there was a subtle detail here - asm/smp.h has dual role on x86, it also
> carries a fair number of low level details about APIC/SMP details -
> which matters on UP IOAPIC.

You are right.
Sorry for not catching that.

BTW, I'm a bit lost in all the branches you are managing in the tip tree :-)
Which one should I look at to notice when the patches are applied?

Thanks.

Regards,
--
Paolo
http://paolo.ciarrocchi.googlepages.com/
--
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/