android_kernel_google_msm/drivers/media/video/cx25821
Ezequiel Garcia 0d19c30f54 media: cx25821: Remove bad strcpy to read-only char*
commit c854d8883f upstream.

The strcpy was being used to set the name of the board.
This was both wrong and redundant,
since the destination char* was read-only and
the name is set statically at compile time.

The type of the name field is changed to const char*
to prevent future errors.

Reported-by: Radek Masin <radek@masin.eu>
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-02 10:30:35 -07:00
..
cx25821-alsa.c
cx25821-audio-upstream.c
cx25821-audio-upstream.h
cx25821-audio.h
cx25821-biffuncs.h
cx25821-cards.c
cx25821-core.c
cx25821-gpio.c
cx25821-i2c.c
cx25821-medusa-defines.h
cx25821-medusa-reg.h
cx25821-medusa-video.c
cx25821-medusa-video.h
cx25821-reg.h
cx25821-sram.h
cx25821-video-upstream-ch2.c
cx25821-video-upstream-ch2.h
cx25821-video-upstream.c
cx25821-video-upstream.h
cx25821-video.c
cx25821-video.h
cx25821.h
Kconfig
Makefile