mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 13:15:57 +00:00
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>
This commit is contained in:
parent
e7d403f556
commit
e53a48053f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user