OSDN Git Service

[media] v4l2-compat-ioctl32: replace pr_warn by pr_debug
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 9 Sep 2015 06:40:39 +0000 (03:40 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 25 Sep 2015 20:44:14 +0000 (17:44 -0300)
commit9ec32cc703c17b9fd1695619695b84f6ed554fab
treeb7d2546cf3b1517b443ecf63dac5d58a4e4a2c73
parentac4033e02a54a1dd3b22364d392ffe3da5d09a5f
[media] v4l2-compat-ioctl32: replace pr_warn by pr_debug

Every time compat32 encounters an unknown ioctl it will call pr_warn.
However, that's very irritating since it is perfectly normal that this
happens. For example, applications often try to call an ioctl to see if
it exists, and if that's used with an older kernel where compat32 doesn't
support that ioctl yet, then it starts spamming the kernel log.

So replace pr_warn by pr_debug.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c