On 23.02.2026 17:06, Teddy Astie wrote:
> xc_report_op returns -1 in some error conditions.
> Make sure it returns -ENOMEM in out of memory errors and -EINVAL
> in invalid usages errors.

Isn't this a move in the wrong direction? -1 as a return value is quite okay.
errno wants setting to indicate the cause of the error (if called functions
don't already set it properly).

Also nit: s/xc_report_op/xc_resource_op/ .

Jan

Reply via email to