From patchwork Wed Jul 15 08:26:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11664449 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 827FE138C for ; Wed, 15 Jul 2020 08:45:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5BF902064C for ; Wed, 15 Jul 2020 08:45:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YoPYHQPy"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Y7XBEzNJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5BF902064C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=n0Uc0jQdlnX8QfHThvLLvY9A91hnfXC2yT0QpoVItRk=; b=YoPYHQPyvhQHf7k1cEcG4l7R2Z R6AlAUOhi4Gj5S2Mh6STFNukpylhVPKv8UdQQDPYFEoD15n9Gzv4We510IgXSyQRLs8RSAWwKHrm1 MVhjTUa2VrL0Mf9xE3ve5td4MyE0SSnzFd5rf05ucp+qmsCU2qkR6myHjR8tck+qo5dW7jORPaWqa wHcePzl4xqLF1oQLopN5Z/ii18vCUdN+EvYLcB5NVw7YwFv9P0JaP+0/hs62vGtXJFP8KaA8UQHCT i7sMetXr7kU/hxPXS63xe8PTVXoZKIbdKEODn0UlafpWjVJEbK/actIgsca2LrvsmOK3DK2UcdGBT x4wp6iEA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvckU-0003Hx-1j; Wed, 15 Jul 2020 08:26:42 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvckR-0003Gm-BV for linux-arm-kernel@lists.infradead.org; Wed, 15 Jul 2020 08:26:40 +0000 Received: by mail-wr1-x442.google.com with SMTP id r12so1403774wrj.13 for ; Wed, 15 Jul 2020 01:26:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BobjFLO4jAQDqgFYhhcPSkxXTsZfQxwIQ+LKOwR6wxQ=; b=Y7XBEzNJjKc0Iuki0fXG/IizMD/riuqZahAKVS5ebLIzW5x2fZVTWpy6exLgM6WY7l MF9LP/7Xb73DNN2spvTOF9U36s88+O3xtWMOpIrpF6Sfgc6j8e7zmWpbIi/9xhjsLvTN bj2xzlqQnQVI1Z1Lxz4/XkyLus0x8gaJZGHsyxNwKzOK2WqczCwK17WtLXmLVOLbx18H XCI7GnBRBA9oT6RsfcnuGN0ieJqplA8sZb+RI6WQ9nCptOpGfXGMqYhszYvn5o/NwNuZ UERu0D4MChT9C/fh+6wACJzJYspQllNfLiFilJvDcQnAJPp0/4qiGdv3Z94HEh1VkFTk 57Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BobjFLO4jAQDqgFYhhcPSkxXTsZfQxwIQ+LKOwR6wxQ=; b=pAEtBpHzeCzvgpXr4PrR/ZkUZyFUG9xyn8MnzrmqD+8epFF4hGZRGG+Mgsspv6fRtl VEBJDDuoRSwCoB8k/+VI1tQIXigooHOprb6E2Ekn5zgp717vUYpYQuTGCt0hAnlatiMY pCx9fPfKzv2B7+o0NKjQJ1MvLNCG/O4fhA3gxPUUUrvhnNKajOMi+zHHisBerpsAW1Mh 5SkTmrEaPzSQGIFH8OkOJtIoKJ6lP98XO56BhDtb0QXicqakPZ6dZkZSYhgsSVoVvddB l0BmWyc+yqRmNgsbw33hZoTJNe4QGkCyGwoaqFqpvXJUBL5Ym23LDrbmToSYDM0eZJ7m PG6g== X-Gm-Message-State: AOAM530FUY3xRY1ihCY9SMnxXuUhhY1qFpxiBMx3kGEWTA5W4u4oLlj6 kp6+PFJ1Em6dpoGyj3UtmD9Q9A== X-Google-Smtp-Source: ABdhPJxavdVbilJtal4t/mMwWHDIMZMCfoDSecxBHUP8XJKJCPrqVA0w2Y2RAT0AGordCCwSHDd0xA== X-Received: by 2002:a05:6000:86:: with SMTP id m6mr9906018wrx.173.1594801598417; Wed, 15 Jul 2020 01:26:38 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id h13sm2400361wml.42.2020.07.15.01.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:26:37 -0700 (PDT) From: Lee Jones To: rjw@rjwysocki.net, viresh.kumar@linaro.org Subject: [PATCH v2 00/13] Rid W=1 warnings in CPUFreq Date: Wed, 15 Jul 2020 09:26:21 +0100 Message-Id: <20200715082634.3024816-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200715_042639_661403_5B691C22 X-CRM114-Status: UNSURE ( 9.22 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. After these patches are applied, the build system no longer complains about any W=0 nor W=1 level warnings in drivers/cpufreq. Hurrah! Changelog v1 => v2: - Collect *-bys - Use __maybe_unused instead of removing device IDs - Use __always_unused instead of using unused variables - Include architecture header instead of creating new include file Lee Jones (13): cpufreq: freq_table: Demote obvious misuse of kerneldoc to standard comment blocks cpufreq: cpufreq: Demote lots of function headers unworthy of kerneldoc status cpufreq: cpufreq_governor: Demote store_sampling_rate() header to standard comment block cpufreq: sti-cpufreq: Fix some formatting and misspelling issues cpufreq: pasemi: Include header file for {check,restore}_astate prototypes cpufreq: powernv-cpufreq: Functions only used in call-backs should be static cpufreq: powernv-cpufreq: Fix a bunch of kerneldoc related issues cpufreq: acpi-cpufreq: Mark 'dummy' variable as __always_unused cpufreq: acpi-cpufreq: Mark sometimes used ID structs as __maybe_unused cpufreq: powernow-k8: Mark 'hi' and 'lo' dummy variables as __always_unused cpufreq: pcc-cpufreq: Mark sometimes used ID structs as __maybe_unused cpufreq: intel_pstate: Supply struct attribute description for get_aperf_mperf_shift() cpufreq: amd_freq_sensitivity: Mark sometimes used ID structs as __maybe_unused drivers/cpufreq/acpi-cpufreq.c | 8 +++---- drivers/cpufreq/amd_freq_sensitivity.c | 2 +- drivers/cpufreq/cpufreq.c | 32 ++++++++++++++------------ drivers/cpufreq/cpufreq_governor.c | 2 +- drivers/cpufreq/freq_table.c | 6 ++--- drivers/cpufreq/intel_pstate.c | 2 ++ drivers/cpufreq/pasemi-cpufreq.c | 2 ++ drivers/cpufreq/pcc-cpufreq.c | 2 +- drivers/cpufreq/powernow-k8.c | 4 ++-- drivers/cpufreq/powernv-cpufreq.c | 15 ++++++------ drivers/cpufreq/sti-cpufreq.c | 8 +++---- 11 files changed, 45 insertions(+), 38 deletions(-) Acked-by: Viresh Kumar