“4d8345e3ac0ba79a17359a72e940ade284c0b1a9”上不存在“paddle/fluid/operators/distributed/distributed_pb.h”
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: NPaul Durrant <paul.durrant@citrix.com> Signed-off-by: NBoris Ostrovsky <boris.ostrovsky@oracle.com>
Showing
想要评论请 注册 或 登录