[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [patch] i386: make bitops safe
From:       Richard Henderson <rth () redhat ! com>
Date:       2006-02-28 21:25:38
Message-ID: 20060228212538.GA28302 () redhat ! com
[Download RAW message or body]

On Tue, Feb 28, 2006 at 01:04:01AM -0500, Chuck Ebbert wrote:
> > One could reasonably argue that if you used a structure with a
> > flexible array member, that GCC could not look through that.  But
> > again I'm not 100% positive this is handled properly.
> 
> This seems to work but causes more problems than it solves:
> 
> #define vaddr ((volatile long *) addr)

This isn't a structure witha flexible array member.


r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic