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 5DA8DCD128A for ; Thu, 4 Apr 2024 01:39:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E658C6B0088; Wed, 3 Apr 2024 21:39:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E14F26B008A; Wed, 3 Apr 2024 21:39:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D051E6B0092; Wed, 3 Apr 2024 21:39:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id AFDE76B0088 for ; Wed, 3 Apr 2024 21:39:26 -0400 (EDT) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 6258180D33 for ; Thu, 4 Apr 2024 01:39:26 +0000 (UTC) X-FDA: 81970141932.28.E2729EA Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by imf08.hostedemail.com (Postfix) with ESMTP id BB5EE160007 for ; Thu, 4 Apr 2024 01:39:23 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=N2jEyKtH; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf08.hostedemail.com: domain of lkp@intel.com designates 192.198.163.13 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1712194764; 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=Qf0IlIq9sRIdwXimzuKxCR44WeBR8863IyJrp2Kmpc0=; b=7TzhATbgn6PkmmoelwLy6e7hmQ5wm2jNNCs1YKu52fXmzIYGcIKw94F4WF0lnRtAZyIe9p z+TARBUzxAz85SNLFwWj0oYoCy5QWJCjT4L55J+EZf7/XxB8SGLaX17AIWsowzd2SX5VvZ Rru6cC4BR0oK/qY8YpvQEhrs3P2IKrA= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=N2jEyKtH; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf08.hostedemail.com: domain of lkp@intel.com designates 192.198.163.13 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1712194764; a=rsa-sha256; cv=none; b=oDhRnGY+5KLgh4b4BS6LGsX+w8ibt00pf9+7nhyb7vlz2SDFC3GC4Berbi7iVVeYbdo6+z ngHwXRd0sBl6f3KHtNNrupEfT+/jJtoxPk5tRHXNyebUYUe5ngke4odFMeV7SbK6rj6kP2 DVLdqeomCckQgHAsY6sNU4H3SjOkxp4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712194764; x=1743730764; h=date:from:to:cc:subject:message-id:mime-version; bh=5hgfNznvStVQ+8zpt7l4KsIWlOTwK7R4CLw8TVb2zxE=; b=N2jEyKtHxkA9y1u6gnnPgqylGjqTxnTKTwjjgx3HbtiVy5Ocqu6dat/i A59YjBC0j9d6stDaBUYD5uqxBXUo41d1PNxXA30GG+xf/GndsfV5480s2 ISlDj6Jr0j6MhSk9sUREeKbzszRtc195SnBMXvk0WngopXzSWG1UHHiF4 lD0pB0LBr0+ZgRFhCc1Gh2JwiOXJ/SIDnfqNSfHa+TVwkDdK/onosVafQ 9iMmzBMtaYK+yLmwXYiw1W726384PNb0COJfp5dyZXaty39K/EgZtpOlc 1ZT/gEBqHEP/qVTIkOmvcinr4eKrBUg7UMtSG9bIbxbWCkLZ7V/qt6nPX Q==; X-CSE-ConnectionGUID: 0d+tA8AYTDuh90TqAM26Lg== X-CSE-MsgGUID: V0yWc038Q2+L48xRwOwOzw== X-IronPort-AV: E=McAfee;i="6600,9927,11033"; a="10426911" X-IronPort-AV: E=Sophos;i="6.07,178,1708416000"; d="scan'208";a="10426911" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 18:39:22 -0700 X-CSE-ConnectionGUID: gJRJZvXJSu2+Cs3y85+qtQ== X-CSE-MsgGUID: aWiUlupvQYiTgX38hwRwHg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,178,1708416000"; d="scan'208";a="23380974" Received: from lkp-server01.sh.intel.com (HELO e61807b1d151) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 03 Apr 2024 18:39:20 -0700 Received: from kbuild by e61807b1d151 with local (Exim 4.96) (envelope-from ) id 1rsC4T-0000Rq-3B; Thu, 04 Apr 2024 01:39:17 +0000 Date: Thu, 4 Apr 2024 09:38:22 +0800 From: kernel test robot To: "Paul E. McKenney" Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List Subject: [linux-next:master 2523/3504] arch/parisc/include/asm/cmpxchg.h:75:24: error: implicit declaration of function 'cmpxchg_emu_u16' Message-ID: <202404040944.CqvTiLwp-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: BB5EE160007 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: yhpe5fmq45bh8hhothxho49ata6kj36x X-HE-Tag: 1712194763-256935 X-HE-Meta: U2FsdGVkX18F5rZtSneF+K7iRa/ayQwqEfvBMGHb4K+PsULCygXPlx0Ezkd+O+SHCnd707CZRqWTZyl6c2uIhxM5Wbv+7BZYwPeCyXStxxx7F9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qEKa9Du+wWGSDhgJ6/BO/iPc4W+rpnIn3GOLa+eGUn/x+6jXXskEtnAs2d+rQjZfWmafZs7leK6DzwOOxtNM90kVApgAJ8DsxeV8Ord5racaF0klq9rtTgIw2Tf4k1cQ9Ir/cT3Sm6jtDgN/MQFcZfBjpYxUSaNv 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: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 727900b675b749c40ba1f6669c7ae5eb7eb8e837 commit: 2f6e60c348365df92f431f9101f7fa8f29c7a178 [2523/3504] parisc: Emulate two-byte cmpxchg config: parisc-randconfig-r036-20230421 (https://download.01.org/0day-ci/archive/20240404/202404040944.CqvTiLwp-lkp@intel.com/config) compiler: hppa-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240404/202404040944.CqvTiLwp-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202404040944.CqvTiLwp-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/parisc/include/asm/atomic.h:10, from include/linux/atomic.h:7, from arch/parisc/include/asm/bitops.h:13, from include/linux/bitops.h:68, from include/linux/kernel.h:23, from arch/parisc/include/asm/bug.h:5, from include/linux/bug.h:5, from include/linux/page-flags.h:10, from kernel/bounds.c:10: arch/parisc/include/asm/cmpxchg.h: In function '__cmpxchg': >> arch/parisc/include/asm/cmpxchg.h:75:24: error: implicit declaration of function 'cmpxchg_emu_u16' [-Werror=implicit-function-declaration] 75 | case 2: return cmpxchg_emu_u16((volatile u16 *)ptr, old, new); | ^~~~~~~~~~~~~~~ >> arch/parisc/include/asm/cmpxchg.h:75:66: error: 'new' undeclared (first use in this function); did you mean 'new_'? 75 | case 2: return cmpxchg_emu_u16((volatile u16 *)ptr, old, new); | ^~~ | new_ arch/parisc/include/asm/cmpxchg.h:75:66: note: each undeclared identifier is reported only once for each function it appears in cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:117: kernel/bounds.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1197: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:240: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/cmpxchg_emu_u16 +75 arch/parisc/include/asm/cmpxchg.h 64 65 /* don't worry...optimizer will get rid of most of this */ 66 static inline unsigned long 67 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) 68 { 69 switch (size) { 70 #ifdef CONFIG_64BIT 71 case 8: return __cmpxchg_u64((u64 *)ptr, old, new_); 72 #endif 73 case 4: return __cmpxchg_u32((unsigned int *)ptr, 74 (unsigned int)old, (unsigned int)new_); > 75 case 2: return cmpxchg_emu_u16((volatile u16 *)ptr, old, new); 76 case 1: return __cmpxchg_u8((u8 *)ptr, old & 0xff, new_ & 0xff); 77 } 78 __cmpxchg_called_with_bad_pointer(); 79 return old; 80 } 81 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki