drm: Fix typo in debug message
authorThierry Reding <treding@nvidia.com>
Wed, 9 Oct 2013 11:33:43 +0000 (13:33 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:20:02 +0000 (09:20 +0100)
Fix a typo (iotcl -> ioctl) in the debug message when an unknown IOCTL
is encountered.

Acked-by: David Airlie <airlied@linux.ie>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_drv.c

index b55f138bd990e5563168b82ee7ea4a3c2729f3dc..138de14134f034927b3ffb3cadf0fc466802db47 100644 (file)
@@ -396,7 +396,7 @@ long drm_ioctl(struct file *filp,
 
       err_i1:
        if (!ioctl)
-               DRM_DEBUG("invalid iotcl: pid=%d, dev=0x%lx, auth=%d, cmd=0x%02x, nr=0x%02x\n",
+               DRM_DEBUG("invalid ioctl: pid=%d, dev=0x%lx, auth=%d, cmd=0x%02x, nr=0x%02x\n",
                          task_pid_nr(current),
                          (long)old_encode_dev(file_priv->minor->device),
                          file_priv->authenticated, cmd, nr);