Re: Oops in tda10023

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

 



e9hack wrote:
> A third option is the following patch:

Ack for this one.

> diff -r 398b07fdfe79 linux/drivers/media/dvb/frontends/tda10023.c
> --- a/linux/drivers/media/dvb/frontends/tda10023.c      Wed May 28 17:55:13 2008 -0300
> +++ b/linux/drivers/media/dvb/frontends/tda10023.c      Fri May 30 23:02:55 2008 +0200
> @@ -90,7 +90,7 @@ static int tda10023_writereg (struct tda
>          if (ret != 1)
>                  printk("DVB: TDA10023(%d): %s, writereg error "
>                          "(reg == 0x%02x, val == 0x%02x, ret == %i)\n",
> -                       state->frontend.dvb->num, __func__, reg, data, ret);
> +                       state->frontend.dvb ? state->frontend.dvb->num : '?', __func__, 

Please replace '?' by -1.

Btw, the same code should be added to tda10023_readreg to print the
adapter number there.

CU
Oliver

-- 
----------------------------------------------------------------
VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/
----------------------------------------------------------------

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

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

  Powered by Linux