Re: [PATCH] autofs4: fix compilation without CONFIG_COMPAT

From: H. Peter Anvin
Date: Sat Feb 25 2012 - 22:09:16 EST


Fortunately it is, because it always indicates a major design facepalm.



Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

>On Sat, Feb 25, 2012 at 5:46 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>>
>> I think this patch could help clean up other places, too.
>
>Grepping for CONFIG_COMPAT shows that the most common test is for some
>local variable that indicates "compatness".
>
>The "is_compat_task()" test is actually surprisingly rare.
>
> Linus

--
Sent from my mobile phone. Please excuse my brevity and lack of formatting.
--
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/