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 772A5C433EF for ; Thu, 10 Mar 2022 05:46:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BFA638D0002; Thu, 10 Mar 2022 00:46:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B836B8D0001; Thu, 10 Mar 2022 00:46:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A4B768D0002; Thu, 10 Mar 2022 00:46:05 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0050.hostedemail.com [216.40.44.50]) by kanga.kvack.org (Postfix) with ESMTP id 91C868D0001 for ; Thu, 10 Mar 2022 00:46:05 -0500 (EST) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 46FC48249980 for ; Thu, 10 Mar 2022 05:46:05 +0000 (UTC) X-FDA: 79227390690.23.AF376AD Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by imf23.hostedemail.com (Postfix) with ESMTP id 2C479140009 for ; Thu, 10 Mar 2022 05:46:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646891164; x=1678427164; h=date:from:to:cc:subject:message-id:mime-version; bh=GCn4zTYTxt5avuZ9CEDKsZnQ2Jgi+BNjW/dE24hl//s=; b=Tznercy8CU1wM1JF2+rGAOj3qHhWYQjeCnsmO/BLRppSJYcE3R4yGBdu z5/ip0Ok3CjANH247IZAnpUcN22XY45nOYK2Puh4WnwKT5/mLr48tIjIK gI8MO5i58OXSJfNLTaIPHfJbHmujJcHW1ZpXMq4ucTPpX2Z6ZNGLCGQj7 ih+sjXkVjWnOdSva2AD1WjWUg+EJcpqq2qNqpw10zVr3wIXtCLreH0pSc HTxjI236LdWTTBySjd6DzmBal1xx2YksRMTwy0QnRNS+QQRY8P2GcFD2O PE0x//cy1q6DmqpitNXkXwrl3xY6BThBqK2CKX91zdUr9keUrWJQjo/P+ g==; X-IronPort-AV: E=McAfee;i="6200,9189,10281"; a="237335056" X-IronPort-AV: E=Sophos;i="5.90,169,1643702400"; d="scan'208";a="237335056" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2022 21:46:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,169,1643702400"; d="scan'208";a="496126931" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 09 Mar 2022 21:46:00 -0800 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nSBce-0004Q2-2s; Thu, 10 Mar 2022 05:46:00 +0000 Date: Thu, 10 Mar 2022 13:45:21 +0800 From: kernel test robot To: Andrey Konovalov Cc: kbuild-all@lists.01.org, Linux Memory Management List , Alexander Potapenko , Andrew Morton Subject: [linux-next:master 11672/11713] mm/kasan/report_sw_tags.c:58:22: error: implicit declaration of function 'object_is_on_stack' Message-ID: <202203101313.LWqhjLOB-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-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 2C479140009 X-Stat-Signature: ejgs5mbwawn3njgwogrgtze8mjjrrkee Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Tznercy8; spf=none (imf23.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.126) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-HE-Tag: 1646891163-254585 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: 4e7a74a6856f8613dab9794da4b5cfb8fd54fb8c commit: 15b4f8fb062a6f681b2c84cef2da7d8af4629230 [11672/11713] kasan: print basic stack frame info for SW_TAGS config: arm64-randconfig-r034-20220309 (https://download.01.org/0day-ci/archive/20220310/202203101313.LWqhjLOB-lkp@intel.com/config) compiler: aarch64-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=15b4f8fb062a6f681b2c84cef2da7d8af4629230 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 15b4f8fb062a6f681b2c84cef2da7d8af4629230 # 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=arm64 SHELL=/bin/bash mm/kasan/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from arch/arm64/include/asm/bug.h:26, from include/linux/bug.h:5, from include/linux/cpumask.h:14, from include/linux/interrupt.h:8, from include/linux/trace_recursion.h:5, from include/linux/ftrace.h:10, from mm/kasan/report_sw_tags.c:13: mm/kasan/report_sw_tags.c: In function 'kasan_print_address_stack_frame': >> mm/kasan/report_sw_tags.c:58:22: error: implicit declaration of function 'object_is_on_stack' [-Werror=implicit-function-declaration] 58 | if (WARN_ON(!object_is_on_stack(addr))) | ^~~~~~~~~~~~~~~~~~ include/asm-generic/bug.h:166:32: note: in definition of macro 'WARN_ON' 166 | int __ret_warn_on = !!(condition); \ | ^~~~~~~~~ cc1: some warnings being treated as errors vim +/object_is_on_stack +58 mm/kasan/report_sw_tags.c 54 55 #ifdef CONFIG_KASAN_STACK 56 void kasan_print_address_stack_frame(const void *addr) 57 { > 58 if (WARN_ON(!object_is_on_stack(addr))) --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org