Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ceab2f... Commit: ceab2fe84987a9b2dbe6107f83ac99c98040abcc Parent: de9be0eaae2a23b1782ae0d271961b83abc6e200 Author: Igor M. Liplianin <liplianin@me.by> AuthorDate: Sun Oct 5 08:57:11 2008 -0300 Committer: Mauro Carvalho Chehab <mchehab@redhat.com> CommitDate: Mon Oct 13 12:26:25 2008 -0200 V4L/DVB (9175): 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 <liplianin@me.by> Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> --- drivers/media/dvb/frontends/stb6000.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/media/dvb/frontends/stb6000.c b/drivers/media/dvb/frontends/stb6000.c index 7d65123..0e2cb0d 100644 --- a/drivers/media/dvb/frontends/stb6000.c +++ b/drivers/media/dvb/frontends/stb6000.c @@ -201,12 +201,13 @@ struct dvb_frontend *stb6000_attach(struct dvb_frontend *fe, int addr, 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, -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
