gcov: return EOPNOTSUPP for unimplemented gcov domctl
PATCH 1/1 gcov: return EOPNOTSUPP for unimplemented gcov domctl
ENOSYS should only be used by unimplemented top-level syscalls. Use EOPNOTSUPP instead.
---
Cc: Andrew Cooper <[email protected]>
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Tim Deegan <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Julien Grall <[email protected]>
--- xen/common/gcov/gcov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/common/gcov/gcov.c +1 -1
@@ -239,7 +239,7 @@ int sysctl_gcov_op(struct xen_sysctl_gcov_op *op)break ;default : - ret = -ENOSYS ; + ret = -EOPNOTSUPP ;break ; }
Signature · 7 lines
2.13.6 (Apple Git-96) _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 6 lines
Quoted 1 line
Quoted 1 line · On 07.11.17 at 13:31, <[email protected]> wrote:
ENOSYS should only be used by unimplemented top-level syscalls. Use EOPNOTSUPP instead.
Signed-off-by Roger Pau Monné <[email protected]>Reported-by Jan Beulich <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Hi,
Quoted 8 lines · Jan Beulich
Quoted 6 lines
Quoted 1 line
Quoted 1 line · On 07.11.17 at 13:31, <[email protected]> wrote:
ENOSYS should only be used by unimplemented top-level syscalls. Use EOPNOTSUPP instead.
Signed-off-by Roger Pau Monné <[email protected]>Reported-by Jan Beulich <[email protected]>Reviewed-by Jan Beulich <[email protected]>
Cheers,
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 6 lines
Quoted 1 line
Quoted 1 line · On 07.11.17 at 13:31, <[email protected]> wrote:
ENOSYS should only be used by unimplemented top-level syscalls. Use EOPNOTSUPP instead.
Signed-off-by Roger Pau Monné <[email protected]>Reported-by Jan Beulich <[email protected]>
Btw I've taken the liberty to make the title say "sysctl" instead of "domctl".
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel