From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 869AEC432C3 for ; Fri, 15 Nov 2019 09:55:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 66CE52072D for ; Fri, 15 Nov 2019 09:55:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727434AbfKOJzU (ORCPT ); Fri, 15 Nov 2019 04:55:20 -0500 Received: from foss.arm.com ([217.140.110.172]:56030 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbfKOJzU (ORCPT ); Fri, 15 Nov 2019 04:55:20 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 87A93328; Fri, 15 Nov 2019 01:55:19 -0800 (PST) Received: from [10.0.2.15] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3CF503F534; Fri, 15 Nov 2019 01:55:18 -0800 (PST) Subject: Re: [PATCH] sched/uclamp: Fix overzealous type replacement To: Vincent Guittot Cc: linux-kernel , Ingo Molnar , Peter Zijlstra , Dietmar Eggemann , Tejun Heo , Patrick Bellasi , Suren Baghdasaryan , Quentin Perret References: <20191113165334.14291-1-valentin.schneider@arm.com> From: Valentin Schneider Message-ID: Date: Fri, 15 Nov 2019 09:55:11 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/11/2019 08:12, Vincent Guittot wrote: > > And static inline enum uclamp_id uclamp_none(enum uclamp_id clamp_id) ? > > Should it be fixed as well as it can return SCHED_CAPACITY_SCALE ? > Right, thanks for staring at this. I'll go double check the diff and fix up any strays.