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 1434BC43334 for ; Mon, 4 Jul 2022 06:16:32 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 754DC6B0072; Mon, 4 Jul 2022 02:16:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 703E98E0001; Mon, 4 Jul 2022 02:16:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5CB296B0074; Mon, 4 Jul 2022 02:16:31 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 4B08D6B0072 for ; Mon, 4 Jul 2022 02:16:31 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 17454350E9 for ; Mon, 4 Jul 2022 06:16:31 +0000 (UTC) X-FDA: 79648408182.08.CA1490C Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by imf17.hostedemail.com (Postfix) with ESMTP id 899774004E for ; Mon, 4 Jul 2022 06:16:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656915389; x=1688451389; h=date:from:to:cc:subject:message-id:mime-version; bh=ekt4uuf7ImTYKF5SqdRh/F45p4fyH9LxbUlnTNYyGuM=; b=oANcb6+HoP11DnZBahkkG0wUy332baTUfEr2GH3TtyrRCPzZzlcDQMMq 6JZsZ+UD35M0HHLC/+81PDngYXySHoCrwlLZV8TR2Gt76fexoguykkDK/ Kv1UuskuG0XJobk7PU8ghe0vuqpPLs+ke3KQslcEUhvROwoTMOWqx81v1 5kI8dRyPVZmYYSpWm6NvJfIirI0kI6/5MunozBDJOrLco2B8WZMbUEIis CPAbSVIYJ2MaBWD0F9YbpwOo0h5AKX+il414FftpkjQ9gR05nM95nwFqy +UoA7UrabbHav//yyDWcq4HE02Qt07GN+pBswN3tSSqxsDQ0vlvDsLJcf A==; X-IronPort-AV: E=McAfee;i="6400,9594,10397"; a="266070205" X-IronPort-AV: E=Sophos;i="5.92,243,1650956400"; d="scan'208";a="266070205" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2022 23:16:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,243,1650956400"; d="scan'208";a="542462170" Received: from lkp-server01.sh.intel.com (HELO 68b931ab7ac1) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 03 Jul 2022 23:16:26 -0700 Received: from kbuild by 68b931ab7ac1 with local (Exim 4.95) (envelope-from ) id 1o8FNh-000Hbf-Mo; Mon, 04 Jul 2022 06:16:25 +0000 Date: Mon, 4 Jul 2022 14:16:15 +0800 From: kernel test robot To: Naoya Horiguchi Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Andrew Morton , Linux Memory Management List Subject: [akpm-mm:mm-unstable 244/249] mm/memory-failure.c:1679:59: error: 'SUBPAGE_INDEX_HWPOISON' undeclared Message-ID: <202207041434.cdFm3q6k-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1656915390; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=RolnCkocsjaMLwmPykHRTbvIejr8LimvTrpQw9+b1W0=; b=zw2QdHVTkCFin0KpzPLK4ZOgCixV/p2+r4rqL8LTfAnUCxZyyfjSCtMgDIJjLyM1u+lVM+ B+Ymd2ztn6XBd7WnnvGfVFCy5kpHTIUYFhU93d7vlespHD8yshyd/gZ65qgSbrJZwk8jmD hAtZke6OEEduYKoQAEvl4/O8i7b7sAA= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=oANcb6+H; spf=none (imf17.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 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1656915390; a=rsa-sha256; cv=none; b=QovnFbG8V8cWwfr6VlWNZJBbwSzMnI8JW0m5lGno3O/U6l2s8fEkoFR6s9XrSY7q5I23AO YMd7trqTod2/WvtiFPeRx+WD3SrIJmQBEYtILqj2AduUQDq+V8kqjaPVUSkRy6V66Z/+AA pTf8qf/4KxnS8tvkc5UOdAaSecUr1BY= X-Stat-Signature: 8yc5czky7zbyiqmzu3kaqio1ddqdp1or X-Rspamd-Queue-Id: 899774004E Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=oANcb6+H; spf=none (imf17.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-Rspam-User: X-Rspamd-Server: rspam02 X-HE-Tag: 1656915389-471646 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/akpm/mm.git mm-unstable head: ce4dc6b0378ef1bd305c37c94fb8aabee4c5be04 commit: 43906a2b9553df7799daed304529a6920e97f9e8 [244/249] mm, hwpoison, hugetlb: support saving mechanism of raw error pages config: parisc-randconfig-r014-20220703 (https://download.01.org/0day-ci/archive/20220704/202207041434.cdFm3q6k-lkp@intel.com/config) compiler: hppa-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 # https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?id=43906a2b9553df7799daed304529a6920e97f9e8 git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git git fetch --no-tags akpm-mm mm-unstable git checkout 43906a2b9553df7799daed304529a6920e97f9e8 # 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=parisc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from include/linux/mm.h:7, from mm/memory-failure.c:37: mm/memory-failure.c: In function 'raw_hwp_list_head': >> mm/memory-failure.c:1679:59: error: 'SUBPAGE_INDEX_HWPOISON' undeclared (first use in this function) 1679 | return (struct llist_head *)&page_private(hpage + SUBPAGE_INDEX_HWPOISON); | ^~~~~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:334:43: note: in definition of macro 'page_private' 334 | #define page_private(page) ((page)->private) | ^~~~ mm/memory-failure.c:1679:59: note: each undeclared identifier is reported only once for each function it appears in 1679 | return (struct llist_head *)&page_private(hpage + SUBPAGE_INDEX_HWPOISON); | ^~~~~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:334:43: note: in definition of macro 'page_private' 334 | #define page_private(page) ((page)->private) | ^~~~ mm/memory-failure.c:1680:1: error: control reaches end of non-void function [-Werror=return-type] 1680 | } | ^ cc1: some warnings being treated as errors vim +/SUBPAGE_INDEX_HWPOISON +1679 mm/memory-failure.c 1676 1677 static inline struct llist_head *raw_hwp_list_head(struct page *hpage) 1678 { > 1679 return (struct llist_head *)&page_private(hpage + SUBPAGE_INDEX_HWPOISON); 1680 } 1681 -- 0-DAY CI Kernel Test Service https://01.org/lkp