Hi, This regards bite-size task for Outreachy program .
I followed the patches prepared by Harmandeep  where functions in xl_cmdimpl.c have the pattern: "*main_foo() is treated somewhat as a regular main(), it is changed to return EXIT_SUCCESS or EXIT_FAILURE. *Functions that are not main_foo(), are changed to do 'return 0' or 'return 1', and then 0/1 is taken care in the main_foo() functions that calls them. " The changes regard scheduling functions. But in the preliminary patches  there is a notion to change not main_foo() to return EXIT_SUCCESS or EXIT_FAILURE, like in . Should not-main functions related to - mem-set - cd-insert - pci-* return 0/1 or should EXIT_SUCCESS/EXIT_FAILURE be kept? There is also a patch that change exit code from numeric values or ERROR_* codes to be either EXIT_SUCCESS or EXIT_FAILURE for migrate related functions . Could that be applied to those functions too? Paulina  https://email@example.com/msg61650.html  http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02990.html  http://lists.xenproject.org/archives/html/xen-devel/2015-12/msg02246.html  http://lists.xenproject.org/archives/html/xen-devel/2015-12/msg02243.html  http://lists.xenproject.org/archives/html/xen-devel/2016-02/msg03354.html
_______________________________________________ Xen-devel mailing list Xenfirstname.lastname@example.org http://lists.xen.org/xen-devel