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

Bastian Blank waldi
Sat May 12 14:52:05 CEST 2007


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.

Bastian

-- 
Knowledge, sir, should be free to all!
		-- Harry Mudd, "I, Mudd", stardate 4513.3



More information about the stgt mailing list