Re: [PATCH] x86: Get rid of 'dubious one-bit signed bitfield' sprase warning

From: Andy Lutomirski
Date: Thu Jan 12 2012 - 10:54:12 EST


On Tue, Jan 10, 2012 at 5:11 PM, Anton Vorontsov <cbouatmailru@xxxxxxxxx> wrote:
> This very noisy sparse warning appears on almost every file in the
> kernel:
>
>  CHECK   init/main.c
> arch/x86/include/asm/thread_info.h:43:55: error: dubious one-bit signed bitfield
> arch/x86/include/asm/thread_info.h:44:46: error: dubious one-bit signed bitfield
>
> This patch changes sig_on_uaccess_error and uaccess_err flags to unsigned
> type and thus fixes the warning.
>
> Signed-off-by: Anton Vorontsov <cbouatmailru@xxxxxxxxx>
> ---

Acked-by: Andy Lutomirski <luto@xxxxxxx>

This structure isn't used by userspace (or not usefully, anyway --
it's not at all stable across releases).

--Andy
--
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/