Skip to content
Snippets Groups Projects
Commit 10cf0ec1 authored by Florian Pose's avatar Florian Pose
Browse files

Output decoded ioctl command number.

parent 08565a9a
No related branches found
No related tags found
No related merge requests found
...@@ -137,8 +137,8 @@ long eccdev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) ...@@ -137,8 +137,8 @@ long eccdev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
long retval = 0; long retval = 0;
if (master->debug_level) if (master->debug_level)
EC_DBG("ioctl(filp = %x, cmd = %u, arg = %x)\n", EC_DBG("ioctl(filp = %x, cmd = %u (%u), arg = %x)\n",
(u32) filp, (u32) cmd, (u32) arg); (u32) filp, (u32) cmd, (u32) _IOC_NR(cmd), (u32) arg);
// FIXME lock // FIXME lock
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment