gpu: pvr: move ioctl checking error messagess to pr_err()
authorLuc Verhaegen <libv@codethink.co.uk>
Tue, 5 Apr 2011 12:41:24 +0000 (14:41 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:05 +0000 (21:43 +0300)
commita1622e474a629f6e982c74e3bbf16c1c38b38bc0
tree90f588fdf3709aa836cc98c391edaf6c5b93d259
parentbafefa5bc0e2d575ed9a1b7f1fe2cf026d68038b
gpu: pvr: move ioctl checking error messagess to pr_err()

This way, we get to actually see ioctls failing.

Also, a pointless check is removed: the switch statement that follows
will take care of unhandled cases for us anyway (and now complain about
them verbosely).

Fixes: NB#251136 - PVR: fix IOCTL command ID range checking

Signed-off-by: Luc Verhaegen <libv@codethink.co.uk>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/bridged_pvr_bridge.c