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 119FCC433F5 for ; Tue, 30 Nov 2021 14:43:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 695476B0072; Tue, 30 Nov 2021 09:43:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 644886B0074; Tue, 30 Nov 2021 09:43:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 50CE46B0075; Tue, 30 Nov 2021 09:43:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0086.hostedemail.com [216.40.44.86]) by kanga.kvack.org (Postfix) with ESMTP id 3EDE46B0072 for ; Tue, 30 Nov 2021 09:43:13 -0500 (EST) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id EC99E18458AA7 for ; Tue, 30 Nov 2021 14:43:02 +0000 (UTC) X-FDA: 78865863804.24.9964874 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by imf10.hostedemail.com (Postfix) with ESMTP id 74B0A60019BE for ; Tue, 30 Nov 2021 14:42:55 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10183"; a="216242524" X-IronPort-AV: E=Sophos;i="5.87,276,1631602800"; d="scan'208";a="216242524" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2021 06:42:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,276,1631602800"; d="scan'208";a="459625220" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 30 Nov 2021 06:42:53 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1ms4LM-000DQu-CR; Tue, 30 Nov 2021 14:42:52 +0000 Date: Tue, 30 Nov 2021 22:42:12 +0800 From: kernel test robot To: Muchun Song Cc: kbuild-all@lists.01.org, Linux Memory Management List , Andrew Morton Subject: [linux-next:master 4289/4301] drivers/nubus/proc.c:112:20: error: called object 'pde_data' is not a function or function pointer Message-ID: <202111302247.X1X9fCjn-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: rspam08 X-Rspamd-Queue-Id: 74B0A60019BE X-Stat-Signature: xu9y68rt6njz1u6gd4bp9dn9wir73ccy Authentication-Results: imf10.hostedemail.com; dkim=none; spf=none (imf10.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.136) smtp.mailfrom=lkp@intel.com; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=intel.com (policy=none) X-HE-Tag: 1638283375-544285 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: 34f255a1e91ab44ff8926cf8294ff9144e62e861 commit: 096d93a8a06292342e48b13021e6c8e097bd9acd [4289/4301] proc: remove PDE_DATA() completely config: m68k-defconfig (https://download.01.org/0day-ci/archive/20211130/202111302247.X1X9fCjn-lkp@intel.com/config) compiler: m68k-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=096d93a8a06292342e48b13021e6c8e097bd9acd 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 096d93a8a06292342e48b13021e6c8e097bd9acd # 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=m68k SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/nubus/proc.c: In function 'nubus_proc_rsrc_show': >> drivers/nubus/proc.c:112:20: error: called object 'pde_data' is not a function or function pointer 112 | pde_data = pde_data(inode); | ^~~~~~~~ drivers/nubus/proc.c:110:37: note: declared here 110 | struct nubus_proc_pde_data *pde_data; | ^~~~~~~~ vim +/pde_data +112 drivers/nubus/proc.c 106 107 static int nubus_proc_rsrc_show(struct seq_file *m, void *v) 108 { 109 struct inode *inode = m->private; 110 struct nubus_proc_pde_data *pde_data; 111 > 112 pde_data = pde_data(inode); 113 if (!pde_data) 114 return 0; 115 116 if (pde_data->res_size > m->size) 117 return -EFBIG; 118 119 if (pde_data->res_size) { 120 int lanes = (int)proc_get_parent_data(inode); 121 struct nubus_dirent ent; 122 123 if (!lanes) 124 return 0; 125 126 ent.mask = lanes; 127 ent.base = pde_data->res_ptr; 128 ent.data = 0; 129 nubus_seq_write_rsrc_mem(m, &ent, pde_data->res_size); 130 } else { 131 unsigned int data = (unsigned int)pde_data->res_ptr; 132 133 seq_putc(m, data >> 16); 134 seq_putc(m, data >> 8); 135 seq_putc(m, data >> 0); 136 } 137 return 0; 138 } 139 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org