[PATCH] saa7134: mark little endian ptr
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 24 Jun 2005 05:04:37 +0000 (22:04 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 07:06:36 +0000 (00:06 -0700)
commitc9c12b790e1dad2e6c2a9b2e62e97297aa8dd93a
treed0ca41fa75a8a6461ee241c5cc19d2b9c723ef61
parenta20758fa3238134ec9ac0a7e02446d9861dfe943
[PATCH] saa7134: mark little endian ptr

> - *ptr = sg_dma_address(list) - list->offset;
> + *ptr = cpu_to_le32(sg_dma_address(list) - list->offset);

Clearly mark pointers to little-endian things.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/video/saa7134/saa7134-core.c
drivers/media/video/saa7134/saa7134.h