public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.27-git2] compilation warning for arch/x86/kernel/xsave.c
@ 2008-10-12  7:30 Rufus & Azrael
  2008-10-13 18:39 ` Suresh Siddha
  0 siblings, 1 reply; 3+ messages in thread
From: Rufus & Azrael @ 2008-10-12  7:30 UTC (permalink / raw)
  To: Siddha, Suresh B; +Cc: Linux-kernel Mailing List, Ingo Molnar

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

Regards.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6.27-git2] compilation warning for arch/x86/kernel/xsave.c
  2008-10-12  7:30 [2.6.27-git2] compilation warning for arch/x86/kernel/xsave.c Rufus & Azrael
@ 2008-10-13 18:39 ` Suresh Siddha
  2008-10-13 18:58   ` Rufus & Azrael
  0 siblings, 1 reply; 3+ messages in thread
From: Suresh Siddha @ 2008-10-13 18:39 UTC (permalink / raw)
  To: Rufus & Azrael
  Cc: Siddha, Suresh B, Linux-kernel Mailing List, Ingo Molnar

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6.27-git2] compilation warning for arch/x86/kernel/xsave.c
  2008-10-13 18:39 ` Suresh Siddha
@ 2008-10-13 18:58   ` Rufus & Azrael
  0 siblings, 0 replies; 3+ messages in thread
From: Rufus & Azrael @ 2008-10-13 18:58 UTC (permalink / raw)
  To: Suresh Siddha; +Cc: Linux-kernel Mailing List, Ingo Molnar

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-13 18:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-12  7:30 [2.6.27-git2] compilation warning for arch/x86/kernel/xsave.c Rufus & Azrael
2008-10-13 18:39 ` Suresh Siddha
2008-10-13 18:58   ` Rufus & Azrael

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox