Message ID | df57734a075cc5ad130e1ae498702e24f2529ab8.1370861520.git.viresh.kumar@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBBPD22GQKGQEKV2XLMA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 09B182397B for <linaro@patches.linaro.org>; Mon, 10 Jun 2013 10:59:18 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id f73sf1261050yha.10 for <linaro@patches.linaro.org>; Mon, 10 Jun 2013 03:59:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references:x-gm-message-state :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-google-group-id:list-post:list-help :list-archive:list-unsubscribe; bh=ZiZQ532hEHqHAMS0/h+WlTqwg7Zi89RB5jU+qhULM+0=; b=ltTokofhovtb7ce6ONiwxqkW85ITvsz3U/16WE6PWgnRaTFMyRKgewPlOJm7TSs1SP Vu+NLcxSD/igibmy3AA8EIuZ6VPZtyQ0smg0UdQQzDx/CTRZto90AF906OwFRj0IP/7+ ATsP19CQ9NJzfrNgD66/Vy1cleXtn30c7QcK6H2/zQYgODDb17f2IQR2wqgMg5njMxFO KWyJoFupLICfJOxY1kYEJ8lDjW2SsxZS/ApVzoajVxxMb0V/lWYDe6XAgc/QbOOsnY2Z eteZ1/PjvXDzL/luEGsGC4CguTXC2lMf+5PcxU3ITUU3npMIK1UWfhvSD95/JDWgSBFy xCDA== X-Received: by 10.224.53.198 with SMTP id n6mr8232414qag.2.1370861957615; Mon, 10 Jun 2013 03:59:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.14.103 with SMTP id o7ls2685348qec.9.gmail; Mon, 10 Jun 2013 03:59:17 -0700 (PDT) X-Received: by 10.58.34.69 with SMTP id x5mr4411393vei.11.1370861957408; Mon, 10 Jun 2013 03:59:17 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id y14si4651163vcn.9.2013.06.10.03.59.17 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Jun 2013 03:59:17 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id hr11so4223056vcb.6 for <patchwork-forward@linaro.org>; Mon, 10 Jun 2013 03:59:17 -0700 (PDT) X-Received: by 10.52.53.36 with SMTP id y4mr4310791vdo.51.1370861957286; Mon, 10 Jun 2013 03:59:17 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp63404vcb; Mon, 10 Jun 2013 03:59:16 -0700 (PDT) X-Received: by 10.68.213.231 with SMTP id nv7mr9592683pbc.70.1370861956500; Mon, 10 Jun 2013 03:59:16 -0700 (PDT) Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [2607:f8b0:400e:c01::22a]) by mx.google.com with ESMTPS id lb5si4619272pbc.30.2013.06.10.03.59.16 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Jun 2013 03:59:16 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::22a is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=2607:f8b0:400e:c01::22a; Received: by mail-pb0-f42.google.com with SMTP id un1so2985089pbc.15 for <patches@linaro.org>; Mon, 10 Jun 2013 03:59:16 -0700 (PDT) X-Received: by 10.68.213.101 with SMTP id nr5mr9403348pbc.22.1370861955997; Mon, 10 Jun 2013 03:59:15 -0700 (PDT) Received: from localhost ([223.228.11.221]) by mx.google.com with ESMTPSA id qh4sm15172174pac.8.2013.06.10.03.58.47 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 10 Jun 2013 03:59:15 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> To: mingo@redhat.com, peterz@infradead.org Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, linux-kernel@vger.kernel.org, robin.randhawa@arm.com, Steve.Bannister@arm.com, Liviu.Dudau@arm.com, charles.garcia-tobin@arm.com, arvind.chauhan@arm.com, Viresh Kumar <viresh.kumar@linaro.org> Subject: [PATCH 1/3] sched: don't initialize alloc_state in build_sched_domains Date: Mon, 10 Jun 2013 16:27:18 +0530 Message-Id: <df57734a075cc5ad130e1ae498702e24f2529ab8.1370861520.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: <cover.1370861520.git.viresh.kumar@linaro.org> References: <cover.1370861520.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1370861520.git.viresh.kumar@linaro.org> References: <cover.1370861520.git.viresh.kumar@linaro.org> X-Gm-Message-State: ALoCoQmgRlLJcv16ZB/xTysWvrlUaj6IaLZMWvXu1FKqOLCTl6IFaTZZO09jIlISIgRIPZkXSqPw X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 0623703..5faa748 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -5956,7 +5956,7 @@ struct sched_domain *build_sched_domain(struct sched_domain_topology_level *tl, static int build_sched_domains(const struct cpumask *cpu_map, struct sched_domain_attr *attr) { - enum s_alloc alloc_state = sa_none; + enum s_alloc alloc_state; struct sched_domain *sd; struct s_data d; int i, ret = -ENOMEM;
alloc_state will be overwritten by __visit_domain_allocation_hell() and so we don't actually need to initialize alloc_state. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)