From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harmandeep Kaur Subject: [PATCH v4 0/5] xl: convert exit codes to EXIT_[SUCCESS|FAILURE] Date: Tue, 27 Oct 2015 18:18:53 +0530 Message-ID: <1445950138-9908-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.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zr3hf-000111-NN for xen-devel@lists.xenproject.org; Tue, 27 Oct 2015 12:50:15 +0000 Received: by pagq8 with SMTP id q8so23845612pag.2 for ; Tue, 27 Oct 2015 05:50:12 -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 *v3 of this patch: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02872.html Signed-off-by: Harmandeep Kaur ---