gpu: nvgpu: Change error for invalid ioctl to dbg

Change loglevel of text for invalid ioctl to dbg.

Bug 20038780

Change-Id: I0a2ba97d9c21b2225f8d3db59c80b70c2f2c679e
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/501171
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Terje Bergstrom
2014-09-22 12:36:59 +03:00
committed by Dan Willemsen
parent 78c46b8555
commit b05d85a29d
4 changed files with 4 additions and 4 deletions

View File

@@ -280,7 +280,7 @@ long gk20a_as_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
(struct nvhost_as_unmap_buffer_args *)buf);
break;
default:
dev_err(dev_from_gk20a(g), "unrecognized as ioctl: 0x%x", cmd);
dev_dbg(dev_from_gk20a(g), "unrecognized as ioctl: 0x%x", cmd);
err = -ENOTTY;
break;
}

View File

@@ -2436,7 +2436,7 @@ long gk20a_channel_ioctl(struct file *filp,
(struct nvhost_channel_events_ctrl_args *)buf);
break;
default:
dev_err(&dev->dev, "unrecognized ioctl cmd: 0x%x", cmd);
dev_dbg(&dev->dev, "unrecognized ioctl cmd: 0x%x", cmd);
err = -ENOTTY;
break;
}

View File

@@ -309,7 +309,7 @@ long gk20a_ctrl_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg
(struct nvhost_gpu_mark_compressible_write_args *)buf);
break;
default:
gk20a_err(dev_from_gk20a(g), "unrecognized gpu ioctl cmd: 0x%x", cmd);
dev_dbg(dev_from_gk20a(g), "unrecognized gpu ioctl cmd: 0x%x", cmd);
err = -ENOTTY;
break;
}

View File

@@ -419,7 +419,7 @@ long gk20a_dbg_gpu_dev_ioctl(struct file *filp, unsigned int cmd,
break;
default:
gk20a_err(dev_from_gk20a(g),
dev_dbg(dev_from_gk20a(g),
"unrecognized dbg gpu ioctl cmd: 0x%x",
cmd);
err = -ENOTTY;