linux/drivers/media/video/hdpvr
Julia Lawall 9518f17912 V4L/DVB (13685): Correct code taking the size of a pointer
sizeof(print_buf) is just the size of the pointer.  Change it to the size
used in the allocation of print_buf earlier in the same function.

A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression *x;
expression f;
type T;
@@

*f(...,(T)x,...)
// </smpl>

Cc: Janne Grunau <j@jannau.net>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-12-16 09:27:55 -02:00
..
hdpvr-control.c V4L/DVB (12472): hdpvr-control: fix bad whitespaces 2009-09-12 12:19:02 -03:00
hdpvr-core.c V4L/DVB (13685): Correct code taking the size of a pointer 2009-12-16 09:27:55 -02:00
hdpvr-i2c.c V4L/DVB (12343): Stop defining I2C adapter IDs nobody uses 2009-09-12 12:18:13 -03:00
hdpvr-video.c V4L/DVB (13552): v4l: Replace video_is_unregistered with video_is_registered 2009-12-16 00:17:55 -02:00
hdpvr.h V4L/DVB (11245): hdpvr: add struct v4l2_device 2009-03-30 12:43:43 -03:00
Kconfig
Makefile V4L/DVB (11152): hdpvr: Fix build with Config_I2C not set 2009-03-30 12:43:32 -03:00