[linux-dvb] Digitv USB firmware loading issue [PATCH]

Olaf Titz olaf at bigred.inka.de
Sun Dec 11 20:15:05 CET 2005


> int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, int *pos)
> {
> -	u8 *b = (u8 *) &fw->data[*pos];
> +	u8 *b;
>  	int data_offs = 4;
>  	if (*pos >= fw->size)
>  		return 0;
>
> +	*b = (u8 *) &fw->data[*pos];

Surely you mean
        b = (u8 *) &fw->data[*pos];

Olaf




More information about the linux-dvb mailing list