[Mjpeg-users] [PATCH 07/25] drivers/media: Use static const char arrays

2010-09-15 Thread Joe Perches
Signed-off-by: Joe Perches --- drivers/media/video/zoran/zoran_device.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/zoran/zoran_device.c b/drivers/media/video/zoran/zoran_device.c index 6f846ab..ea8a1e9 100644 --- a/drivers/media/video/zoran

[Mjpeg-users] [PATCH 07/25] drivers/media/video/zoran: Don't use initialized char array

2010-09-15 Thread Joe Perches
Just fill the array as necessary and terminate with 0 Signed-off-by: Joe Perches --- diff --git a/drivers/media/video/zoran/zoran_device.c b/drivers/media/video/zoran/zoran_device.c index 6f846ab..b02007e 100644 --- a/drivers/media/video/zoran/zoran_device.c +++ b/drivers/media/video/zoran

[Mjpeg-users] [PATCH 00/25] treewide-next: Use static const char arrays

2010-09-15 Thread Joe Perches
anged char foo[sizeof("barX")]; ... sprintf(foo, "bar%c", value + '0'); Joe Perches (25): arch/mips: Use static const char arrays arch/powerpc: Use static const char arrays drivers/acpi: Use static const char arrays drivers/char: Use static const char array

[Mjpeg-users] [PATCH] drivers/media/: Spelling fixes

2007-12-18 Thread Joe Perches
Signed-off-by: Joe Perches <[EMAIL PROTECTED]> --- drivers/media/common/saa7146_core.c |2 +- drivers/media/dvb/dvb-core/dvb_net.c |2 +- drivers/media/video/bt8xx/bttv-cards.c|2 +- drivers/media/video/bt8xx/bttv-driver.c