]> bbs.cooldavid.org Git - net-next-2.6.git/commit
V4L/DVB (13716): [Mantis] Bug: incorrect byte swap
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 3 Dec 2009 08:47:11 +0000 (05:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:30 +0000 (11:55 -0200)
commit417036844823313901d7f7d7b963f215cc3b0641
tree3f62df8b931289ce84397441f368ac5640e2d6c9
parent8154bad4c488c1a23fb504a6e751d71a39733b76
V4L/DVB (13716): [Mantis] Bug: incorrect byte swap

You know, the worst endianness errors are not the cases where
people forget to byte-swap, but the cases where they either byte-swap
with the wrong size, or byte-swap when they shouldn't have done so at
all. Those ones defeat the casual reader of the code.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/mantis_dma.c