aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorPaul Durrant <[email protected]>2017-02-13 17:03:22 +0000
committerBoris Ostrovsky <[email protected]>2017-02-13 18:49:00 +0000
commitdc9eab6fd94dd26340749321bba2c58634761516 (patch)
treef8c05ab25635c57dc168172b4307f7ae0bab7fe9 /scripts/gcc-plugins/sancov_plugin.c
parentxen: optimize xenbus driver for multiple concurrent xenstore accesses (diff)
downloadkernel-dc9eab6fd94dd26340749321bba2c58634761516.tar.gz
kernel-dc9eab6fd94dd26340749321bba2c58634761516.zip
xen/privcmd: return -ENOTTY for unimplemented IOCTLs
The code sets the default return code to -ENOSYS but then overrides this to -EINVAL in the switch() statement's default case, which is clearly silly. This patch removes the override and sets the default return code to -ENOTTY, which is the conventional return for an unimplemented ioctl. Signed-off-by: Paul Durrant <[email protected]> Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions