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=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 A7B45C433FE for ; Fri, 10 Sep 2021 02:56:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 82ED360235 for ; Fri, 10 Sep 2021 02:56:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229896AbhIJC4g (ORCPT ); Thu, 9 Sep 2021 22:56:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbhIJC4e (ORCPT ); Thu, 9 Sep 2021 22:56:34 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8B60C061574 for ; Thu, 9 Sep 2021 19:55:24 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id i24so586522pfo.12 for ; Thu, 09 Sep 2021 19:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=z1DCn45fgjMCQ5dOXTyEr8YoI8mYYmFSGGZ1t4ok398=; b=SyYmiBfuT121U2kQWstr/h0lqnT+GUYyddY2RtuwDAiIx+QVU9o01WKFaaqGddtmsU DsyGOgtfQ2T3G8vHHSHYnzgjV0cCfCsGI+e5tYDKgBT5cANHKyAIstpj/aBeCY/r97xV nbdgIW2kZoofxC/5Hmcdorin1lSO5co6g/Phs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=z1DCn45fgjMCQ5dOXTyEr8YoI8mYYmFSGGZ1t4ok398=; b=i0WzL1jg21t8UJfS2oy8MtojcMpefGdRxM+why97frLSEBu30dPQxFqXBw8IR9pBbT 5VpJ+E8dEx9dzmPux1TjEmRsOP9Lzh/YbVjaUoZcPPEXZaEA/GQDXmrz8enRfulR0i1T YhiSfORiCJ/IL3sIS0E+sNx6BnRPKq3e3fwH2NaX/5zR7QHMLe7HC7U2DN+Doqlk8H6L RTpwotbxyUKnsrlMLB6UEodXQJ2PcIavyPLCHi3VKsSZTHGCJDt3gtunRfGoIfW0+Cdj x6oZ+XocDiqFCaqyt79agljMnxXOuXbNUgbGhF6+mWDmv8BipKyV+MIPQ//GxW4ZU3Q0 tk+w== X-Gm-Message-State: AOAM533a2u/y6Q1wRsPKjcKF1IUD4ZC+6CXsvcTEgTTX4gnTscSyvg40 lSJKXq6rWnbh0N/bGIMt2bsyB+pT7RH4lA== X-Google-Smtp-Source: ABdhPJyXKJMH4iL1JkUkb6KeSYYQYWAuY6YIZKAKq4TIuyIAFhfG24f/49fPMpEMqqI33F4vjUeT2w== X-Received: by 2002:a63:535f:: with SMTP id t31mr5438886pgl.270.1631242524046; Thu, 09 Sep 2021 19:55:24 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id j5sm3415494pjv.56.2021.09.09.19.55.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 19:55:23 -0700 (PDT) Date: Thu, 9 Sep 2021 19:55:22 -0700 From: Kees Cook To: Guenter Roeck Cc: Viresh Kumar , Sudeep Holla , "Rafael J . Wysocki" , Liviu Dudau , Lorenzo Pieralisi , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] cpufreq: vexpress: Drop unused variable Message-ID: <202109091955.B786058@keescook> References: <20210909184714.153068-1-linux@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210909184714.153068-1-linux@roeck-us.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 09, 2021 at 11:47:14AM -0700, Guenter Roeck wrote: > arm:allmodconfig fails to build with the following error. > > drivers/cpufreq/vexpress-spc-cpufreq.c:454:13: error: > unused variable 'cur_cluster' > > Remove the unused variable. > > Fixes: bb8c26d9387f ("cpufreq: vexpress: Set CPUFREQ_IS_COOLING_DEV flag") > Cc: Viresh Kumar > Signed-off-by: Guenter Roeck Reviewed-by: Kees Cook I hit this in build testing too. -- Kees Cook