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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB494C433FE for ; Tue, 1 Mar 2022 04:19:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3FE728D0002; Mon, 28 Feb 2022 23:19:52 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3AEFA8D0001; Mon, 28 Feb 2022 23:19:52 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2C5A18D0002; Mon, 28 Feb 2022 23:19:52 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0206.hostedemail.com [216.40.44.206]) by kanga.kvack.org (Postfix) with ESMTP id 1EFF78D0001 for ; Mon, 28 Feb 2022 23:19:52 -0500 (EST) Received: from smtpin31.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id C72D18249980 for ; Tue, 1 Mar 2022 04:19:51 +0000 (UTC) X-FDA: 79194514182.31.390283D Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by imf05.hostedemail.com (Postfix) with ESMTP id 977C6100003 for ; Tue, 1 Mar 2022 04:19:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646108390; x=1677644390; h=date:from:to:cc:subject:message-id:mime-version; bh=7+GHxMCaOy/eag+P29R1wN7fPuSy9M8xFCoVkKsEOOA=; b=fAzqERZ5mxtglgM7sLOusDBCAKKLOjbVXI40trbvBIDLA8DOQWWwkWzG ePOI0Ig9LSeBd0R/J+XQVcLQq6ucTq/I6TCoQrGQWCmlyiSf4NkXovrgA UbKufKcSH8Rk1WDGEdoNU/aPd+9Is9+D/LR9Igmarce6OE1g8TJ2CDhlj EPix2V/jG6rhWj2cIYXxd0KwWqDOGipSVFYGVKJ6vCLYqnPB3S5qHH/go uxUilSz05/xS0aohUy4OiSPhu+5KGLcros7b7cSZYwM8UCm+anG+G+lwK b3zgMqAItRmiVWnHNj6eHfP9G7RBgVsBYW8EEy/fw0z76KyKRiP1XuH2P w==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="233021833" X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="233021833" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 20:19:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="804073353" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 28 Feb 2022 20:19:47 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nOtzG-00086g-NB; Tue, 01 Mar 2022 04:19:46 +0000 Date: Tue, 1 Mar 2022 12:19:00 +0800 From: kernel test robot To: Daniel Lezcano Cc: kbuild-all@lists.01.org, Linux Memory Management List , Ulf Hansson , "Rafael J. Wysocki" , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [linux-next:master 3353/9295] drivers/powercap/dtpm.c:525:22: sparse: sparse: symbol 'dtpm_node_callback' was not declared. Should it be static? Message-ID: <202203011104.TkmvSjFD-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 977C6100003 X-Rspam-User: Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=fAzqERZ5; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf05.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.136) smtp.mailfrom=lkp@intel.com X-Stat-Signature: hnn8ac9ehw3un858ed19dsg9zwees7yq X-HE-Tag: 1646108390-822411 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000003, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 6705cd745adbbeac6b13002c7a30060f7b2568a5 commit: 3759ec678e8944dc2ea70cab77a300408f78ae27 [3353/9295] powercap/drivers/dtpm: Add hierarchy creation config: x86_64-randconfig-s021-20220228 (https://download.01.org/0day-ci/archive/20220301/202203011104.TkmvSjFD-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3759ec678e8944dc2ea70cab77a300408f78ae27 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 3759ec678e8944dc2ea70cab77a300408f78ae27 # save the config file to linux build tree mkdir build_dir make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/powercap/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/powercap/dtpm.c: note: in included file: drivers/powercap/dtpm_subsys.h:12:24: sparse: sparse: symbol 'dtpm_subsys' was not declared. Should it be static? >> drivers/powercap/dtpm.c:525:22: sparse: sparse: symbol 'dtpm_node_callback' was not declared. Should it be static? Please review and possibly fold the followup patch. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org