]> err.no Git - linux-2.6/commit
[PATCH] uml: comment about cast build fix
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Wed, 21 Sep 2005 16:40:29 +0000 (18:40 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 21 Sep 2005 23:16:30 +0000 (16:16 -0700)
commita46c9047642d70f5619e4a14129d74dd1f6ea74f
tree1d0850d57ad6c3d109c700c071e7cd468306a1e8
parentae756df8ddd00a30bb3bdf6774b514c096dda4a4
[PATCH] uml: comment about cast build fix

Explain why the casting we do to silence this warning is indeed safe.

It is because the field we're casting from, though being 64-bit wide, was filled
with a pointer in first place by ourselves.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/os-Linux/aio.c