diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-05-21 05:31:31 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-05 11:35:49 +0200 |
commit | d4f979a9e1c5c8ed291e89ec38248823c9a182ba (patch) | |
tree | 30630c052cc8ab325711f21d9d105ffb8126bea7 /drivers/media/dvb/ttusb-budget | |
parent | V4L/DVB (7961): fix endianness bug in dib0700_devices.c (diff) | |
download | linux-d4f979a9e1c5c8ed291e89ec38248823c9a182ba.tar.xz linux-d4f979a9e1c5c8ed291e89ec38248823c9a182ba.zip |
V4L/DVB (7962): ttusb endianness annotations and fixes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttusb-budget')
-rw-r--r-- | drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index 732ce4de512e..5d2d81ab2371 100644 --- a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c @@ -552,7 +552,7 @@ static void ttusb_process_muxpack(struct ttusb *ttusb, const u8 * muxpack, u16 csum = 0, cc; int i; for (i = 0; i < len; i += 2) - csum ^= le16_to_cpup((u16 *) (muxpack + i)); + csum ^= le16_to_cpup((__le16 *) (muxpack + i)); if (csum) { printk("%s: muxpack with incorrect checksum, ignoring\n", __func__); |