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.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 58569C4338F for ; Mon, 23 Aug 2021 09:07:33 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DD47D61262 for ; Mon, 23 Aug 2021 09:07:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DD47D61262 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 2AC856B006C; Mon, 23 Aug 2021 05:07:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 25C008D0001; Mon, 23 Aug 2021 05:07:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 14AFE6B0073; Mon, 23 Aug 2021 05:07:32 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0194.hostedemail.com [216.40.44.194]) by kanga.kvack.org (Postfix) with ESMTP id EDF0D6B006C for ; Mon, 23 Aug 2021 05:07:31 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 7D3771F871 for ; Mon, 23 Aug 2021 09:07:31 +0000 (UTC) X-FDA: 78505767102.30.643CB81 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf29.hostedemail.com (Postfix) with ESMTP id 126B890001BC for ; Mon, 23 Aug 2021 09:07:30 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 2064761372 for ; Mon, 23 Aug 2021 09:07:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629709650; bh=75C6WTKYwhR2m+3txA/zDZW4NM927SsdzV8Iy2B8Dvg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=iDMie/hhk5nq9PMp4WHNGQq4Dhe/Upo4DHM8DXRO0rGjgulW3O+d+RvvVRv657c9Y aUqkjVERPmHSQRVVNOx7l7v8otaL+HahSFLrFH9s4XY/oLVWUdlabZ2TeBDvmK2R+5 eUlimmJj69PgDzAn3fOVq+JE8edcvFk9IWL4W80uXNUC4Ofkm1jjdAZuKn8F1xNAgx 53BpQOBgLMnpQonUv8FeKCPX8ydWReHlZNnayslP7oOc0/uomOLfkjNrS3zTByJq03 r5NS0dIXozV4Bbxe6naei5a0oW4BBYsVrZqKjOXzcOKURwJHdG2PWOD8ayNfjD+TVh 4OqX6xyM3foog== Received: by mail-wr1-f45.google.com with SMTP id u16so25205713wrn.5 for ; Mon, 23 Aug 2021 02:07:30 -0700 (PDT) X-Gm-Message-State: AOAM532eXLkvCmqUz4SLJ5/0c2ozUOfznhxDiFVzZSBfENXES+YEjqjH WHDuTgIuFzlkH5tE2vTtv3iUzm3IcODzIU3D2nc= X-Google-Smtp-Source: ABdhPJzIGNQm1vzva2EnWVF4+a2zKp+gfpoZYdeAI0rlgnvmL/qyqhbrL3I1/6v8ZysQbcgW+9lYQYQ2PffndZiti8s= X-Received: by 2002:a05:6000:188d:: with SMTP id a13mr6085175wri.99.1629709648677; Mon, 23 Aug 2021 02:07:28 -0700 (PDT) MIME-Version: 1.0 References: <202108210311.CBtcgoUL-lkp@intel.com> <20210823031546.fupzmdxjntacsq2e@vireshk-i7> In-Reply-To: <20210823031546.fupzmdxjntacsq2e@vireshk-i7> From: Arnd Bergmann Date: Mon, 23 Aug 2021 11:07:13 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-next:master 6632/9522] include/linux/pm_opp.h:458:58: warning: unused parameter 'dev' To: Viresh Kumar Cc: kernel test robot , clang-built-linux , kbuild-all@lists.01.org, Linux Memory Management List , Quentin Perret , Lukasz Luba Content-Type: text/plain; charset="UTF-8" Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="iDMie/hh"; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf29.hostedemail.com: domain of arnd@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=arnd@kernel.org X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 126B890001BC X-Stat-Signature: yqf5x7nt733aa8d9ctwt4au4gt9owkup X-HE-Tag: 1629709650-788807 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Aug 23, 2021 at 5:15 AM Viresh Kumar wrote: > > On 21-08-21, 03:30, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > head: 86ed57fd8c93fdfaabb4f58e78455180fa7d8a84 > > commit: c17495b01b72b53bd290f442d39b060e015c7aea [6632/9522] cpufreq: Add callback to register with energy model > > config: i386-randconfig-a016-20210820 (attached as .config) > > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d9c5613e856cf2addfbf892fc4c1ce9ef9feceaa) > > reproduce (this is a W=1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c17495b01b72b53bd290f442d39b060e015c7aea > > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > git fetch --no-tags linux-next master > > git checkout c17495b01b72b53bd290f442d39b060e015c7aea > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386 > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All warnings (new ones prefixed by >>): > > > > static inline void pm_vt_switch_unregister(struct device *dev) > > ^ > > In file included from drivers/gpu/drm/i915/gt/intel_llc.c:6: > > In file included from include/linux/cpufreq.h:12: > > In file included from include/linux/cpu.h:17: > > In file included from include/linux/node.h:18: > > include/linux/device.h:653:46: warning: unused parameter 'dev' [-Wunused-parameter] > > static inline int dev_to_node(struct device *dev) > > False positives ? These are mostly inline dummies, which simply return > errors. Their parameters aren't supposed to be used. It's a clang-14 W=1 build, probably something went wrong with the clang specific warning flags there. I think we do want "-Wunused -Wno-unused-parameter". Not sure what changed compared to older clang builds. Arnd