The patch number 9175 was added via Igor M. Liplianin <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Igor M. Liplianin  <[EMAIL PROTECTED]>
Remove NULL pointer in stb6000 driver.


Remove NULL pointer in stb6000 driver,
as it raises error for DvbWorld USB card.

Signed-off-by: Igor M. Liplianin <[EMAIL PROTECTED]>


---

 linux/drivers/media/dvb/frontends/stb6000.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -r d59fae79a439 -r adac9931d17f linux/drivers/media/dvb/frontends/stb6000.c
--- a/linux/drivers/media/dvb/frontends/stb6000.c       Sun Oct 05 14:52:18 
2008 +0300
+++ b/linux/drivers/media/dvb/frontends/stb6000.c       Sun Oct 05 14:57:11 
2008 +0300
@@ -202,12 +202,13 @@ struct dvb_frontend *stb6000_attach(stru
                                                struct i2c_adapter *i2c)
 {
        struct stb6000_priv *priv = NULL;
+       u8 b0[] = { 0 };
        u8 b1[] = { 0, 0 };
        struct i2c_msg msg[2] = {
                {
                        .addr = addr,
                        .flags = 0,
-                       .buf = NULL,
+                       .buf = b0,
                        .len = 0
                }, {
                        .addr = addr,


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/adac9931d17fd35f31a0cc9424e8ead612034fd9

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

Reply via email to