The patch number 9448 was added via Manu Abraham <[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: Reinhard Nissl <[EMAIL PROTECTED]>
Bug: a string which contains 4 digits needs an array
of size 5. The fifth character will hold the terminating '\0'
Signed-off-by: Reinhard Nissl <[EMAIL PROTECTED]>
Signed-off-by: Manu Abraham <[EMAIL PROTECTED]>
---
linux/drivers/media/dvb/frontends/stb0899_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -r 83278a3d6289 -r fe3cd795b19b
linux/drivers/media/dvb/frontends/stb0899_drv.c
--- a/linux/drivers/media/dvb/frontends/stb0899_drv.c Mon Jan 21 23:15:14
2008 +0400
+++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c Mon Jan 21 23:17:48
2008 +0400
@@ -1318,8 +1318,8 @@ int stb0899_get_dev_id(struct stb0899_st
u8 chip_id, release;
u16 id;
u32 demod_ver = 0, fec_ver = 0;
- char demod_str[4] = { 0 };
- char fec_str[4] = { 0 };
+ char demod_str[5] = { 0 };
+ char fec_str[5] = { 0 };
id = stb0899_read_reg(state, STB0899_DEV_ID);
dprintk(state->verbose, FE_DEBUG, 1, "ID reg=[0x%02x]", id);
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/fe3cd795b19b61bdae19d58052d8e6744ce1381c
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits