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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux