S2API Remove NULL pointer in stb6000 driver.
PATCH 1/1 S2API Remove NULL pointer in stb6000 driver.
Steve,
Remove NULL pointer in stb6000 driver,
as it raises error for DvbWorld USB card.
Igor
# HG changeset patch
# User Igor M. Liplianin <[email protected]> # Date 1223207831 -10800
# Node ID 4b968f970a42a266179113bb3280250e42ccd2f3 # Parent 8dc74aaea8b20dea5b42c32873984c2c28a8ab6e Remove NULL pointer in stb6000 driver.
From: Igor M. Liplianin <[email protected]>
Remove NULL pointer in stb6000 driver,
as it raises error for DvbWorld USB card.
linux/drivers/media/dvb/frontends/stb6000.c +2 -1
@@ -202,12 +202,13 @@ 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,
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Steven Toth
AppliedQuoted 7 lines · Igor M. Liplianin
Steve,
Remove NULL pointer in stb6000 driver,
as it raises error for DvbWorld USB card.Igor
Merged, thanks.
- Steve
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb