Re: [PATCH] altix: Add volatile qualifiers in places where it seems necessary

Christoph Hellwig
2005-09-02T15:38:09Z

On Fri, Sep 02, 2005 at 10:36:12AM -0500, Mark Maule wrote:
> Add missing volatile qualifier to hardware MMR pointers in various SN files.
> Cosmetic code rearranging in pcibr_reg.c to avoid line-wraps.

Volatile usage is wrong most of the time, and your use is certainly.
It seems you're accessing mmio-space or something similar and should
use proper acessors for it.