Commit 102d4858 authored by Petr Vandrovec's avatar Petr Vandrovec

Return ENOTTY instead of EINVAL for unknown ioctl ops in matroxfb.

parent a105a29b
......@@ -1168,7 +1168,7 @@ static int matroxfb_ioctl(struct inode *inode, struct file *file,
return 0;
}
}
return -EINVAL;
return -ENOTTY;
#undef minfo
}
......
......@@ -679,7 +679,7 @@ static int matroxfb_dh_ioctl(struct inode* inode,
return 0;
}
}
return -EINVAL;
return -ENOTTY;
#undef m2info
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment