From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harmandeep Kaur Subject: [PATCH v3 0/5] xl: convert exit codes to EXIT_[SUCCESS|FAILURE] Date: Tue, 27 Oct 2015 15:20:47 +0530 Message-ID: <1445939452-8091-1-git-send-email-write.harmandeep@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zr0uz-0006xe-Jn for xen-devel@lists.xenproject.org; Tue, 27 Oct 2015 09:51:49 +0000 Received: by padfb7 with SMTP id fb7so24262374pad.0 for ; Tue, 27 Oct 2015 02:51:47 -0700 (PDT) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: lars.kurth@citrix.com, wei.liu2@citrix.com, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, dario.faggioli@citrix.com, ian.jackson@eu.citrix.com, george.dunlap@citrix.com, Harmandeep Kaur List-Id: xen-devel@lists.xenproject.org *Its my "bite size contribution" that is required for applying to the Outreachy program. *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. *Functions in xl.c and xl_cmdimpl.c are changed. *Functions related to scheduling, vcpu, cpupool and parsing are currently changed excluding parse_config_data() which is big enough to deserve its own patch. *Some discussions about this patch: https://www.mail-archive.com/xen-devel@lists.xen.org/msg42850.html *v1 of this patch: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02497.html *v2 of this patch: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02623.html Signed-off-by: Harmandeep Kaur ---