[media] v4l2-ioctl: log buffer type 0 correctly
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 5 Jun 2015 14:28:51 +0000 (11:28 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 6 Jun 2015 10:43:49 +0000 (07:43 -0300)
commit839aa56d077972170a074bcbe31bf0d7eba37b24
treeda5cadf4506f0d470dad900ae1121d03b30b6cb9
parentdc8b1c0e89f3473221f35b7aaf7419e2d2c16fe9
[media] v4l2-ioctl: log buffer type 0 correctly

If userspace passed the invalid buffer type 0 to the kernel, then the
kernel log would show 'type=(null)' since there was no string defined
for type 0. Fix this.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-ioctl.c