[Stgt-devel] PATCH 6 of 6 - Implement READ ELEMENT STATUS op code

Ming Zhang blackmagic02881
Sun May 13 02:45:50 CEST 2007

On Sat, 2007-05-12 at 14:52 +0200, Bastian Blank wrote:
> On Fri, May 11, 2007 at 11:34:12AM -0400, Ming Zhang wrote:
> > forgot about this. we allocate data aligned to page size. so this is ok.
> I'm not sure but this may violate the C aliasing rules. The same address
> is accessed as uint8_t and uint16_t. The result of this violation is
> undefined behaviour.

right. so for sanity purpose, better to fix it.

> Bastian

More information about the stgt mailing list