diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-06-18 07:20:56 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 17:05:38 (GMT) |
commit | e53a48053f5612415a04375a6562e63a771d7cc3 (patch) | |
tree | 4c5a56acd8df6082dd1579addee8a59818294e97 /drivers/media/video/sh_mobile_ceu_camera.c | |
parent | e7d403f55675d9153de893345ec155af82fd993c (diff) | |
download | linux-fsl-qoriq-e53a48053f5612415a04375a6562e63a771d7cc3.tar.xz |
V4L/DVB: sh_mobile_ceu_camera: fix debugging message
With enabled debugging sh_mobile_ceu_camera.c dereferences an invalid or a NULL
pointer. Thanks to James Wang for reporting.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/sh_mobile_ceu_camera.c')
-rw-r--r-- | drivers/media/video/sh_mobile_ceu_camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c index 961bfa2..d40b1e0 100644 --- a/drivers/media/video/sh_mobile_ceu_camera.c +++ b/drivers/media/video/sh_mobile_ceu_camera.c @@ -1005,7 +1005,7 @@ static int sh_mobile_ceu_get_formats(struct soc_camera_device *icd, unsigned int xlate->code = code; xlate++; dev_dbg(dev, "Providing format %s in pass-through mode\n", - xlate->host_fmt->name); + fmt->name); } return formats; |