[linux-dvb] [BUG] Firmware loading of FF cards is broken

Darren Salt linux at youmustbejoking.demon.co.uk
Tue Jun 3 20:56:02 CEST 2008


I demand that e9hack may or may not have written...

[snip]
> It seems, that get_unaligned_be32() is broken. The definition in compat.h
> is:
> #define get_unaligned_be32(a)                                   \
>          be32_to_cpu(get_unaligned((unsigned short *)(a)))

> 'unsigned short *' is wrong. It should be 'unsigned long *'.

That could be a 64-bit type. You want unsigned int or uint32_t.

[snip]
-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Buy local produce. Try to walk or cycle. TRANSPORT CAUSES GLOBAL WARMING.

Succumb to natural tendencies. Be hateful and boring.



More information about the linux-dvb mailing list