Re: [2.6.27-git2] compilation warning for arch/x86/kernel/xsave.c

From: Rufus & Azrael
Date: Mon Oct 13 2008 - 14:51:19 EST


Suresh Siddha wrote:
On Sun, Oct 12, 2008 at 12:30:17AM -0700, Rufus& Azrael wrote:
Hi Suresh,


Your commit ed405958057ca6a8c4c9178a7a3b1167fabb45f5 causes this
compilation warning on xsave.c :

arch/x86/kernel/xsave.c: In function âsave_i387_xstateâ:
arch/x86/kernel/xsave.c:98: attention : ignoring return value of
â__clear_userâ, declared with attribute warn_unused_result

Thanks Rufus for the report and thanks Ingo for pushing the fix.

I wonder why CONFIG_ENABLE_MUST_CHECK is not turned on by default?
I turned this option on, in the list of configs I use.

thanks,
suresh

Hi Suresh,


This option is set to Y in my .config, but I don't remember if it was volontary or by default.

Regards.

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