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 8B5C5C433EF for ; Tue, 28 Jun 2022 07:31:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 12BEB8E0002; Tue, 28 Jun 2022 03:31:22 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0B4708E0001; Tue, 28 Jun 2022 03:31:22 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EBE228E0002; Tue, 28 Jun 2022 03:31:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id D883A8E0001 for ; Tue, 28 Jun 2022 03:31:21 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id ADEDB326BE for ; Tue, 28 Jun 2022 07:31:21 +0000 (UTC) X-FDA: 79626823962.09.8C790E2 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by imf19.hostedemail.com (Postfix) with ESMTP id 138211A0010 for ; Tue, 28 Jun 2022 07:31:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656401479; x=1687937479; h=date:from:to:cc:subject:message-id:mime-version; bh=MEDXCJKlUeRWDEf8GYWxhQSY4NEFo4w2mQeBhKA8GQ8=; b=Q64u03DtGef50kKFDbN+V+dw2pdFAUQ9CygbkscWbdHdTcUkSh9m1d65 N63OyfzM0HkLzWr7bQ2vtu18TFiIK/FyFKZS8UUwgUELXdX7cdiFJQ8GX u1jKTH5N3HTh5svQvxfb3LJ9UmBbSxCnIbSnePisZBIITgEZSEXnxp6GF QIZhuMLPj3UhqRSlSZqcS1GNo3/H1e0kis+D5stXhlRifgqeH8veEkYT5 LBDfFPR0VJEpGI8yTfvFXhWFeUMBmVu6SA9ANPS25ck6N3tNh5vZi/ISq GEqqmOuvGffgl4LJxdErPJRp+n3jCn058Cx+Uxl+WBkIiAMrffCqwBroh A==; X-IronPort-AV: E=McAfee;i="6400,9594,10391"; a="282398259" X-IronPort-AV: E=Sophos;i="5.92,227,1650956400"; d="scan'208";a="282398259" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2022 00:31:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,227,1650956400"; d="scan'208";a="836564054" Received: from lkp-server01.sh.intel.com (HELO 68b931ab7ac1) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 28 Jun 2022 00:31:13 -0700 Received: from kbuild by 68b931ab7ac1 with local (Exim 4.95) (envelope-from ) id 1o65gn-0009gs-3T; Tue, 28 Jun 2022 07:31:13 +0000 Date: Tue, 28 Jun 2022 15:30:34 +0800 From: kernel test robot To: Andrew Morton Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Linux Memory Management List , Shiyang Ruan Subject: [akpm-mm:mm-unstable 137/269] mm/memory-failure.c:1728:19: error: redefinition of 'mf_generic_kill_procs' Message-ID: <202206281524.6A02wFc0-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Q64u03Dt; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf19.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.24) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1656401481; a=rsa-sha256; cv=none; b=XEp5nhkwSeSt3iJX2WdZFTgJKBkWHciUnVr6Kz13fYGm7PXWlp1Y+l8eGImDINZFRSpU/i NOxW+3ZXtWLi38oipQDIlNrNF0v/zcnJlT9gCsX3eRX8YdaMMjuZv2jk7WqTejSD+dPwOw x+qRy0hOY8PvDvGtKWPg2W3WHkznVlE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1656401481; 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=VHvI50wn11sCIbUtif0+oSw7fbzdjBu7yxkn9vWW+Jk=; b=uaKKQEczzr5EoaQlYlBYNMUM5ZCqqdFhdh8PvrNc7RmPSK1lw1XClCb1yTUTDsrAKSCz+s LTOJ+aCkYZVI2emcwpjtO7Yuf/VWI4N3OH8yw4JFkAyPa/HfzAUoXAOSUFX/ZBqM/1+4Pp dWjcmX/Wj7mN+MO6JvXq7lh24A4UDz0= X-Stat-Signature: f9996yryxtiwa9mcgbtxragp6418w95a X-Rspamd-Server: rspam08 X-Rspam-User: X-Rspamd-Queue-Id: 138211A0010 Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Q64u03Dt; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf19.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.24) smtp.mailfrom=lkp@intel.com X-HE-Tag: 1656401478-892591 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: e75a11c67c2bbfefe57713b8bd62e488a9196baf commit: 4184e8d7d056b7943348dabb99a37ca9ba51fb8d [137/269] mm-factor-helpers-for-memory_failure_dev_pagemap-fix config: x86_64-randconfig-a002-20220627 (https://download.01.org/0day-ci/archive/20220628/202206281524.6A02wFc0-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project df18167ac56d05f2ab55f9d874aee7ab6d5bc9a2) 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=4184e8d7d056b7943348dabb99a37ca9ba51fb8d 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 4184e8d7d056b7943348dabb99a37ca9ba51fb8d # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): >> mm/memory-failure.c:1728:8: warning: attribute declaration must precede definition [-Wignored-attributes] static inline int mf_generic_kill_procs(unsigned long long pfn, int flags, ^ include/linux/compiler_types.h:155:23: note: expanded from macro 'inline' #define inline inline __gnu_inline __inline_maybe_unused notrace ^ include/linux/compiler_attributes.h:173:56: note: expanded from macro '__gnu_inline' #define __gnu_inline __attribute__((__gnu_inline__)) ^ mm/memory-failure.c:1526:12: note: previous definition is here static int mf_generic_kill_procs(unsigned long long pfn, int flags, ^ >> mm/memory-failure.c:1728:8: warning: attribute declaration must precede definition [-Wignored-attributes] static inline int mf_generic_kill_procs(unsigned long long pfn, int flags, ^ include/linux/compiler_types.h:155:58: note: expanded from macro 'inline' #define inline inline __gnu_inline __inline_maybe_unused notrace ^ arch/x86/include/asm/linkage.h:9:32: note: expanded from macro 'notrace' #define notrace __attribute__((no_instrument_function)) ^ mm/memory-failure.c:1526:12: note: previous definition is here static int mf_generic_kill_procs(unsigned long long pfn, int flags, ^ >> mm/memory-failure.c:1728:19: error: redefinition of 'mf_generic_kill_procs' static inline int mf_generic_kill_procs(unsigned long long pfn, int flags, ^ mm/memory-failure.c:1526:12: note: previous definition is here static int mf_generic_kill_procs(unsigned long long pfn, int flags, ^ 2 warnings and 1 error generated. vim +/mf_generic_kill_procs +1728 mm/memory-failure.c 1727 > 1728 static inline int mf_generic_kill_procs(unsigned long long pfn, int flags, 1729 struct dev_pagemap *pgmap) 1730 { 1731 return 0; 1732 } 1733 -- 0-DAY CI Kernel Test Service https://01.org/lkp