lkml.org 
[lkml]   [2009]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] kbuild: fix a compile warning
On Fri, May 15, 2009 at 03:51:18AM -0400, Amerigo Wang wrote:
>
> I got this warning:
>
> HOSTCC scripts/basic/fixdep
> scripts/basic/fixdep.c: In function 'traps':
> scripts/basic/fixdep.c:377: warning: dereferencing type-punned pointer will break strict-aliasing rules
> scripts/basic/fixdep.c:379: warning: dereferencing type-punned pointer will break strict-aliasing rules
>
> Patch below fixes it.

We do not use -fno-strict-aliasing at userspace, so fix seems ok.
Applied.

Sam


\
 
 \ /
  Last update: 2009-06-06 00:09    [W:0.095 / U:1.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site