From patchwork Tue Nov 15 08:23:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 82272 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp1410657qge; Tue, 15 Nov 2016 00:23:59 -0800 (PST) X-Received: by 10.98.166.136 with SMTP id r8mr44834363pfl.113.1479198239650; Tue, 15 Nov 2016 00:23:59 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b82si25560892pfe.235.2016.11.15.00.23.59; Tue, 15 Nov 2016 00:23:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965835AbcKOIXp (ORCPT + 26 others); Tue, 15 Nov 2016 03:23:45 -0500 Received: from mail-pg0-f44.google.com ([74.125.83.44]:36406 "EHLO mail-pg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933425AbcKOIXm (ORCPT ); Tue, 15 Nov 2016 03:23:42 -0500 Received: by mail-pg0-f44.google.com with SMTP id f188so64165106pgc.3 for ; Tue, 15 Nov 2016 00:23:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=l0rFQNn8g0TRTRU43IuvT0Ni8Y/6MlqWpMA9/V6nP58=; b=WhaPlY8oHstuhQMNZJk8gzWtOdEFlOf/JZphAK3r4sIB7X6XrOToRt0Co+ImQsmoUT Vxv2ZPnRNkB8Wn/Lmo2gEGgkdm1foldS8+84ZZ1vrQ9S1qIA7HslRPYquqXC+QJezok2 KZypIUTFckLHhPa6yxw7i+ZMgpVs244z0jtfo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=l0rFQNn8g0TRTRU43IuvT0Ni8Y/6MlqWpMA9/V6nP58=; b=RYUXTItUwP8Tdg0CbdrO8oCMGJic9tWTSFm+KnMnC/QUucxziaSxaJNUXZ+Qv3G8MR zhIKO8a2XbOqXmloELDA3aQir0b/Oe+r0DyQ0Q8KCDnXZm6rU5u6szbH52O/vsWxxKAL VmztHg4cfDb7X8B6Fimwgi0Z2i3rLgZZ12yUuZi2cnQeXNCOdIIvyP8D4kp3M527gKy0 7T+cSxST7nU/c45r88qyvy42yVHknr7akh7mfvlaT+r0CngSvomsIYRPIlu8k+Inxzm1 g63+64aQaQbRNUSNcj1AhfTmGN3g2fVYVoQ3Q0AmmEMOrxEmcVWTeiIwzOBlVzmE5x+a IB+A== X-Gm-Message-State: ABUngveCiXuZ2HTMcqh+E3cG69xKKjiCDNyBzPf3uC8cylmkb8tzrQW5r3POkHjlmlJoMW7y X-Received: by 10.98.80.140 with SMTP id g12mr44525634pfj.54.1479198221459; Tue, 15 Nov 2016 00:23:41 -0800 (PST) Received: from localhost ([122.172.89.192]) by smtp.gmail.com with ESMTPSA id d10sm1730187pap.42.2016.11.15.00.23.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Nov 2016 00:23:40 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki , Ingo Molnar , Peter Zijlstra Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Guittot , Juri Lelli , Robin Randhawa , Steve Muckle , Viresh Kumar Subject: [PATCH V2 1/4] cpufreq: schedutil: Avoid indented labels Date: Tue, 15 Nov 2016 13:53:20 +0530 Message-Id: X-Mailer: git-send-email 2.7.1.410.g6faf27b In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Switch to the more common practice of writing labels. Suggested-by: Peter Zijlstra Signed-off-by: Viresh Kumar --- kernel/sched/cpufreq_schedutil.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.7.1.410.g6faf27b diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index 69e06898997d..8c4e1652e895 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -454,17 +454,17 @@ static int sugov_init(struct cpufreq_policy *policy) if (ret) goto fail; - out: +out: mutex_unlock(&global_tunables_lock); cpufreq_enable_fast_switch(policy); return 0; - fail: +fail: policy->governor_data = NULL; sugov_tunables_free(tunables); - free_sg_policy: +free_sg_policy: mutex_unlock(&global_tunables_lock); sugov_policy_free(sg_policy);