]>
Commit | Line | Data |
---|---|---|
08f2b9b8 GKH |
1 | From bb0829a741792b56c908d7745bc0b2b540293bcc Mon Sep 17 00:00:00 2001 |
2 | From: Colin Ian King <colin.king@canonical.com> | |
3 | Date: Tue, 27 Feb 2018 16:21:05 +0000 | |
4 | Subject: mei: remove dev_err message on an unsupported ioctl | |
5 | ||
6 | From: Colin Ian King <colin.king@canonical.com> | |
7 | ||
8 | commit bb0829a741792b56c908d7745bc0b2b540293bcc upstream. | |
9 | ||
10 | Currently the driver spams the kernel log on unsupported ioctls which is | |
11 | unnecessary as the ioctl returns -ENOIOCTLCMD to indicate this anyway. | |
12 | I suspect this was originally for debugging purposes but it really is not | |
13 | required so remove it. | |
14 | ||
15 | Signed-off-by: Colin Ian King <colin.king@canonical.com> | |
16 | Cc: stable <stable@vger.kernel.org> | |
17 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
18 | ||
19 | --- | |
20 | drivers/misc/mei/main.c | 1 - | |
21 | 1 file changed, 1 deletion(-) | |
22 | ||
23 | --- a/drivers/misc/mei/main.c | |
24 | +++ b/drivers/misc/mei/main.c | |
25 | @@ -507,7 +507,6 @@ static long mei_ioctl(struct file *file, | |
26 | break; | |
27 | ||
28 | default: | |
29 | - dev_err(dev->dev, ": unsupported ioctl %d.\n", cmd); | |
30 | rets = -ENOIOCTLCMD; | |
31 | } | |
32 |