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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BEBBC433EF for ; Mon, 9 May 2022 11:37:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232838AbiEILlL (ORCPT ); Mon, 9 May 2022 07:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232920AbiEILlG (ORCPT ); Mon, 9 May 2022 07:41:06 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 056F120790E for ; Mon, 9 May 2022 04:37:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652096230; x=1683632230; h=date:from:to:cc:subject:message-id:mime-version; bh=BTdze0j7Y7DYaHJ4hcIwyYPi09SBZVQyG+qJOqDK++g=; b=V18wMMvnQesZslYMg/koeilxWZFRcu+QUU8TVlPcMbd7cz6pXIkchvS+ FV+I+EKRCU6hdQPLYB29b2GflFOV1M5YLY8+oNp8A/+eSwXTSCI0T2Aw8 fIsq6Zot9De8QAIFXspPHEWxGLC5WMhRGQsnP9TODd2Nypvv7N8lvBTng 3/c6o5KgJM8/Ac8kx746oFeszKYYh12nmaP1oD3mnWc5wnFShRi8lYV1P twrV/K+miFYdcB+HXY4n7DFFLf6/do1BGLMMQO/i7DQ/Cm6EbqxZPPiAb DL+FRtn0t8l+eSQ+nXs94Ij0DVoO2SN67oYNemjoye9ExQwf4AUUmK+lA g==; X-IronPort-AV: E=McAfee;i="6400,9594,10341"; a="329616994" X-IronPort-AV: E=Sophos;i="5.91,211,1647327600"; d="scan'208";a="329616994" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2022 04:37:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,211,1647327600"; d="scan'208";a="540544648" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 09 May 2022 04:37:09 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1no1hM-000GTe-UW; Mon, 09 May 2022 11:37:08 +0000 Date: Mon, 9 May 2022 19:36:50 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [willy-pagecache:for-next 34/106] kernel/events/uprobes.c:793:22: error: 'struct address_space' has no member named 'ops'; did you mean 'a_ops'? Message-ID: <202205091929.FnbrVrc0-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: git://git.infradead.org/users/willy/pagecache for-next head: aa4aa19cc518a24bec4de5ff7caaf212d0091805 commit: 0e03bd90d662c215ce99813a175df0e4fd074f5c [34/106] fs: Introduce aops->read_folio config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220509/202205091929.FnbrVrc0-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 11.3.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 git remote add willy-pagecache git://git.infradead.org/users/willy/pagecache git fetch --no-tags willy-pagecache for-next git checkout 0e03bd90d662c215ce99813a175df0e4fd074f5c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Note: the willy-pagecache/for-next HEAD aa4aa19cc518a24bec4de5ff7caaf212d0091805 builds fine. It only hurts bisectability. All errors (new ones prefixed by >>): kernel/events/uprobes.c: In function '__copy_insn': >> kernel/events/uprobes.c:793:22: error: 'struct address_space' has no member named 'ops'; did you mean 'a_ops'? 793 | if (mapping->ops->read_folio || mapping->a_ops->readpage) | ^~~ | a_ops vim +793 kernel/events/uprobes.c 783 784 static int __copy_insn(struct address_space *mapping, struct file *filp, 785 void *insn, int nbytes, loff_t offset) 786 { 787 struct page *page; 788 /* 789 * Ensure that the page that has the original instruction is populated 790 * and in page-cache. If ->readpage == NULL it must be shmem_mapping(), 791 * see uprobe_register(). 792 */ > 793 if (mapping->ops->read_folio || mapping->a_ops->readpage) 794 page = read_mapping_page(mapping, offset >> PAGE_SHIFT, filp); 795 else 796 page = shmem_read_mapping_page(mapping, offset >> PAGE_SHIFT); 797 if (IS_ERR(page)) 798 return PTR_ERR(page); 799 800 copy_from_page(page, offset, insn, nbytes); 801 put_page(page); 802 803 return 0; 804 } 805 -- 0-DAY CI Kernel Test Service https://01.org/lkp