[xen master] gcov: return ENOSYS for unimplemented gcov domctl

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen master] gcov: return ENOSYS for unimplemented gcov domctl

patchbot
commit 6c1a029aef07f6962716a5a7b3d6b942281f4e4e
Author:     Roger Pau Monne <[hidden email]>
AuthorDate: Thu Oct 26 10:19:30 2017 +0100
Commit:     Wei Liu <[hidden email]>
CommitDate: Fri Oct 27 15:08:36 2017 +0100

    gcov: return ENOSYS for unimplemented gcov domctl
   
    Signed-off-by: Roger Pau Monné <[hidden email]>
    Reviewed-by: Ian Jackson <[hidden email]>
    Release-acked-by: Julien Grall <[hidden email]>
    Acked-by: Wei Liu <[hidden email]>
---
 xen/common/gcov/gcov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/common/gcov/gcov.c b/xen/common/gcov/gcov.c
index 2f18f6d..35653fd 100644
--- a/xen/common/gcov/gcov.c
+++ b/xen/common/gcov/gcov.c
@@ -239,7 +239,7 @@ int sysctl_gcov_op(struct xen_sysctl_gcov_op *op)
         break;
 
     default:
-        ret = -EINVAL;
+        ret = -ENOSYS;
         break;
     }
 
--
generated by git-patchbot for /home/xen/git/xen.git#master


_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog