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 67179C433EF for ; Tue, 23 Nov 2021 15:04:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EF0B66B0072; Tue, 23 Nov 2021 10:04:18 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E9E216B0074; Tue, 23 Nov 2021 10:04:18 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D8D9C6B0075; Tue, 23 Nov 2021 10:04:18 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0102.hostedemail.com [216.40.44.102]) by kanga.kvack.org (Postfix) with ESMTP id CD2ED6B0072 for ; Tue, 23 Nov 2021 10:04:18 -0500 (EST) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 9B8138CE38 for ; Tue, 23 Nov 2021 15:04:08 +0000 (UTC) X-FDA: 78840515628.05.5E976D6 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by imf25.hostedemail.com (Postfix) with ESMTP id 1CC9CB000309 for ; Tue, 23 Nov 2021 15:02:41 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10176"; a="298445025" X-IronPort-AV: E=Sophos;i="5.87,258,1631602800"; d="scan'208";a="298445025" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2021 07:02:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,258,1631602800"; d="scan'208";a="674490661" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 23 Nov 2021 07:02:41 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mpXJg-0001yc-EG; Tue, 23 Nov 2021 15:02:40 +0000 Date: Tue, 23 Nov 2021 23:02:02 +0800 From: kernel test robot To: Hans de Goede Cc: kbuild-all@lists.01.org, Linux Memory Management List , Andrew Morton Subject: [linux-next:master 2931/3119] arch/sparc/kernel/led.c:125:44: error: 'led_proc_ops' undeclared; did you mean 'proc_ops'? Message-ID: <202111232211.EGcf1OEb-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: rspam04 X-Rspamd-Queue-Id: 1CC9CB000309 X-Stat-Signature: 1pxf5onw8gmj5s6owarwn7njx4cxwe8z Authentication-Results: imf25.hostedemail.com; dkim=none; spf=none (imf25.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.100) smtp.mailfrom=lkp@intel.com; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=intel.com (policy=none) X-HE-Tag: 1637679761-402577 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: aacdecce8147c20b01f865b4e214bb8dbe8c4af1 commit: a5bfe17b6ef2aa73b93002aacd368e67fd5e802b [2931/3119] proc: Make the proc_create[_data]() stubs static inlines config: sparc-buildonly-randconfig-r002-20211123 (https://download.01.org/0day-ci/archive/20211123/202111232211.EGcf1OEb-lkp@intel.com/config.gz) compiler: sparc-linux-gcc (GCC) 11.2.0 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=a5bfe17b6ef2aa73b93002aacd368e67fd5e802b 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 a5bfe17b6ef2aa73b93002aacd368e67fd5e802b # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc SHELL=/bin/bash arch/sparc/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/sparc/kernel/led.c: In function 'led_init': >> arch/sparc/kernel/led.c:125:44: error: 'led_proc_ops' undeclared (first use in this function); did you mean 'proc_ops'? 125 | led = proc_create("led", 0, NULL, &led_proc_ops); | ^~~~~~~~~~~~ | proc_ops arch/sparc/kernel/led.c:125:44: note: each undeclared identifier is reported only once for each function it appears in vim +125 arch/sparc/kernel/led.c ee1858d3122ded Lars Kotthoff 2005-11-07 120 ee1858d3122ded Lars Kotthoff 2005-11-07 121 static int __init led_init(void) ee1858d3122ded Lars Kotthoff 2005-11-07 122 { db275f2a02cd35 Kees Cook 2017-10-09 123 timer_setup(&led_blink_timer, led_blink, 0); ee1858d3122ded Lars Kotthoff 2005-11-07 124 97a32539b9568b Alexey Dobriyan 2020-02-03 @125 led = proc_create("led", 0, NULL, &led_proc_ops); ee1858d3122ded Lars Kotthoff 2005-11-07 126 if (!led) ee1858d3122ded Lars Kotthoff 2005-11-07 127 return -ENOMEM; ee1858d3122ded Lars Kotthoff 2005-11-07 128 ee1858d3122ded Lars Kotthoff 2005-11-07 129 printk(KERN_INFO ee1858d3122ded Lars Kotthoff 2005-11-07 130 "led: version %s, Lars Kotthoff \n", ee1858d3122ded Lars Kotthoff 2005-11-07 131 LED_VERSION); ee1858d3122ded Lars Kotthoff 2005-11-07 132 ee1858d3122ded Lars Kotthoff 2005-11-07 133 return 0; ee1858d3122ded Lars Kotthoff 2005-11-07 134 } ee1858d3122ded Lars Kotthoff 2005-11-07 135 :::::: The code at line 125 was first introduced by commit :::::: 97a32539b9568bb653683349e5a76d02ff3c3e2c proc: convert everything to "struct proc_ops" :::::: TO: Alexey Dobriyan :::::: CC: Linus Torvalds --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org