staging: ft1000-pcmcia: Fix ft1000_dnld() to work also on 64bit architectures.
Firmware file needs to be read by 4bytes also on 64 bit architectures. Change long type to u32 and also extend checking. Tested on 32 and also 64 bit architectures. Signed-off-by: NStano Lanci <chl.pixo@gmail.com> Signed-off-by: NMarek Belisko <marek.belisko@open-nandra.com> Tested-by: NStano Lanci <chl.pixo@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录