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=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 D293BC4338F for ; Mon, 23 Aug 2021 03:15:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7214161101 for ; Mon, 23 Aug 2021 03:15:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7214161101 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id B64F56B006C; Sun, 22 Aug 2021 23:15:58 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AF0406B0072; Sun, 22 Aug 2021 23:15:58 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9B6C06B0073; Sun, 22 Aug 2021 23:15:58 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0096.hostedemail.com [216.40.44.96]) by kanga.kvack.org (Postfix) with ESMTP id 8281C6B006C for ; Sun, 22 Aug 2021 23:15:58 -0400 (EDT) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 0CEA7181AF5E1 for ; Mon, 23 Aug 2021 03:15:58 +0000 (UTC) X-FDA: 78504881196.08.4CD3EDD Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by imf08.hostedemail.com (Postfix) with ESMTP id ADC5030000A9 for ; Mon, 23 Aug 2021 03:15:57 +0000 (UTC) Received: by mail-pj1-f54.google.com with SMTP id ml14-20020a17090b360e00b0018de39d40bcso915482pjb.1 for ; Sun, 22 Aug 2021 20:15:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=fQQOss/Yb9n2T7y6Wzh0ROcta6ZEY7+Hq1Zg7Phh6mU=; b=RFPiUbmtmyA3SHR60jDHJct6W6ap2CBxbYNEikceAKnGDghbh/CloAjU1bRWkWTf4w ZR1lNgVw9eVts0RMRtI9NIY8UdxJyO0JkG4GXNWtU78Pa2qwzDpULrJhBMKq6iDzwZmf PDf3Zo16LyRVbS9hZ0RfuSGsI0DK1LIz846gchUGL0rZe+rvXpOLXDDsPDBcIp9LuZFD 1rlDoV8E6fJDc4FBn7A2t6+Cv69OjO0WM3gqInxbDKteQpf5Q+ycmiNFZxRVRUkT9KYw MtjaNooPs7bg1WX4CLrdA1H9pvVnfIdfa0E6Mz81w64d/F834qW7Pb2csy6GhH7vhcSk FQeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=fQQOss/Yb9n2T7y6Wzh0ROcta6ZEY7+Hq1Zg7Phh6mU=; b=ohAxt1EIU37eKVadta6E0y1WTKYHp8V9RU/tjM0ZqMCrz2q0te1i5ZQDYcZ9v3oTLy 5m4nj/hd3PbSr4TP+HYSaKCIhcOJd4GXckbaufN6vNuW9QDeFPHYqOmCZL4Dx5/nNTXh ytignHc00Tt0VFxOe35lXCW+h/324uMp8yFeL95guuNx7SYlxHZtUdgzu9Dpa4Dn/wUY kIYRfiv5X0SO0lWcdG3kRj27nFIWd/m5fIeNW+sVNp6af3fxh/y0uauxtvRqYa52pub7 I096H6uro6juhXDKE+z40t9BRskmzV9JojqkE79y8njrm9cMeK0eUSjALnRBAP+0Eo9R OKxA== X-Gm-Message-State: AOAM532fjlcSKgLzOUxN2A2VL9iweLUNy0D49etfMFgKCQv6lKjP3Yge TgcMb3aDLMGI1kpV0v3CLUUFwWg48hgDfQ== X-Google-Smtp-Source: ABdhPJz3op6zZ6aXRxEKaH4xsPldHCI4oPkIrZU3fHEVNyfy+vPBpNJ15S3ZbgQtA8ZM2tcW0Ghi6A== X-Received: by 2002:a17:902:b947:b029:12c:b414:a018 with SMTP id h7-20020a170902b947b029012cb414a018mr27191354pls.30.1629688556867; Sun, 22 Aug 2021 20:15:56 -0700 (PDT) Received: from localhost ([122.172.201.85]) by smtp.gmail.com with ESMTPSA id z11sm13879748pfn.69.2021.08.22.20.15.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Aug 2021 20:15:56 -0700 (PDT) Date: Mon, 23 Aug 2021 08:45:46 +0530 From: Viresh Kumar To: kernel test robot Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org, Linux Memory Management List , Quentin Perret , Lukasz Luba Subject: Re: [linux-next:master 6632/9522] include/linux/pm_opp.h:458:58: warning: unused parameter 'dev' Message-ID: <20210823031546.fupzmdxjntacsq2e@vireshk-i7> References: <202108210311.CBtcgoUL-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202108210311.CBtcgoUL-lkp@intel.com> User-Agent: NeoMutt/20180716-391-311a52 Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=RFPiUbmt; spf=pass (imf08.hostedemail.com: domain of viresh.kumar@linaro.org designates 209.85.216.54 as permitted sender) smtp.mailfrom=viresh.kumar@linaro.org; dmarc=pass (policy=none) header.from=linaro.org X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: ADC5030000A9 X-Stat-Signature: r9oou8wkxhw1kuigwyp3w64nounchhjd X-HE-Tag: 1629688557-841017 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 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. -- viresh From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2206478888167145328==" MIME-Version: 1.0 From: Viresh Kumar To: kbuild-all@lists.01.org Subject: Re: [linux-next:master 6632/9522] include/linux/pm_opp.h:458:58: warning: unused parameter 'dev' Date: Mon, 23 Aug 2021 08:45:46 +0530 Message-ID: <20210823031546.fupzmdxjntacsq2e@vireshk-i7> In-Reply-To: <202108210311.CBtcgoUL-lkp@intel.com> List-Id: --===============2206478888167145328== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 21-08-21, 03:30, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.g= it 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 d9c5= 613e856cf2addfbf892fc4c1ce9ef9feceaa) > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/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=3Dc17495b01b72b53bd290f442d39b060e015c7aea > git remote add linux-next https://git.kernel.org/pub/scm/linux/ke= rnel/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=3D$HOME/0day COMPILER=3Dclang make.cross AR= CH=3Di386 = > = > 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' [-Wunus= ed-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. -- = viresh --===============2206478888167145328==--