gcov: return ENOSYS for unimplemented gcov domctl
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 26 Oct 2017 09:19:30 +0000 (10:19 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 27 Oct 2017 14:08:36 +0000 (15:08 +0100)
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Release-acked-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Wei Liu <wei.liu2@citrix.com>
xen/common/gcov/gcov.c

index 2f18f6d17658d5d80f2b1f7c0a49457e7d64be14..35653fd8d8efb26b83a819a842e7a62d857f83f5 100644 (file)
@@ -239,7 +239,7 @@ int sysctl_gcov_op(struct xen_sysctl_gcov_op *op)
         break;
 
     default:
-        ret = -EINVAL;
+        ret = -ENOSYS;
         break;
     }