Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp56604lqz; Fri, 29 Mar 2024 08:24:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQY/FhUs8DLA9L28yOU08/S3b2FLCBUE7Gx6fCI809Yy1FOzWLynH+iucMsCUzU2f1VAPVmF+Mws1kzI/0rZlKzE9V8RU8A/I30r2KGQ== X-Google-Smtp-Source: AGHT+IEcKVuI/7uli5l5aKKg9+5+quh2r37FiBnEgJIkggAF3KPbqdfOqCKpYbMU5Pdj/t03pSXc X-Received: by 2002:a17:902:7b8e:b0:1e0:3b86:34ca with SMTP id w14-20020a1709027b8e00b001e03b8634camr2467987pll.38.1711725880841; Fri, 29 Mar 2024 08:24:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711725880; cv=pass; d=google.com; s=arc-20160816; b=utbxEwzwd7DI+X/Y9mOOnfPR1ZAoUq97/wrsMOHE+nihGICy4e+Re5xl0ysEYUfpHW v4MOlM6QAZv+izKvg5dKLiapl2faJFRZ9w6/dwe2OajptcgpL55XngJsaBCeWoGxIw9/ 9OeY+Xqzyt+gMDL232MPR3Rn+ql3pKMinykU4PRXFSG1sRRdvVArsXJcQ2ZxDbdMF/6r +dWU6mRKeKszRjOu9GWUpJP3vxx0tPVEM8X01aM192Hpj8pA2uCe6FwaU0d1B5O9antL C0eCX7lQ/bDq/D4vRj3QKGY7Pal4KH8LGmavy0vUn7+ViP5SKdsHcotP0zUGy/XOwOPE OnYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=TswIjslmXCV2+Q7OlnzREE2sYhN+F9nsoacFxi8RveU=; fh=6DU5hDcdQVoxBerx8SvDKyJ5zbrZWUynkE47N5tnt28=; b=JuBxGKQo0x5VvC+Om7PhHUmzO3frfqxGpqz3uvOynZtyIFzpitb8jbNNSuDUd2Hc/o 43tzq5araT2Y4FBpgWZMUKi1+JO5qYJ2v7P+RbsnNfY6e3Y4lkZcYeGeS+eXFDE34tK3 mWjVWxcAP1Zjd4SxC5ct8wUUEB7xa/H1TZOHSknTsRdBUM1c7/QIpxMl3FeZZ9rKAldt v+Sl9ZwzEAyjAMQyvgc9ChygcoqdGSWMg9xDQ/c999QIpe5dLx8cHuBo8/C/TLsLMe5I 4GErpe9Wphh3bLcL5thTtWr9LFREgv/FXUyed+lC7j33Z0QHPgYQxWqu7yGbwKHRJYmP 0VVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=oFBSiDmp; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-125122-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125122-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k10-20020a170902d58a00b001e0afc34ae1si3945938plh.40.2024.03.29.08.24.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 08:24:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125122-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=oFBSiDmp; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-125122-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125122-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7CF58288C56 for ; Fri, 29 Mar 2024 15:24:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8C5218EAB; Fri, 29 Mar 2024 15:19:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="oFBSiDmp" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 24FC61C0DE0 for ; Fri, 29 Mar 2024 15:19:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711725598; cv=none; b=L/h0GdyOB27ATMkj1i6uHrI0mZMo36mBIXq7n29zaesyJfiZHdyKEatfwz8YPQQ0yzYRSkhCzQJSDLkYUCuUEnmJz6Uw3wQt14g3hrfoZsg/Ksnp2a1ebi+3LzIGLYsv9l1vgpvAceOswFh1gXGUQhNxjOA85v+iKLfdF34xOOU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711725598; c=relaxed/simple; bh=6lRyftTz6DnnozwPgVFSAhecaNqGp6DtbqpR95KuyLY=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=FBT3KyG9B2aFDAhmpHxMo74bXckvFN8YpmL4ZJ+ktJw4zgbo/choN8iD09WXFe3P5BA+Dg1i9S9cefJ1F8iG/2D0qHIgKHvygGYsp9QraUotigp3R7LpkNTo4Bmy8PbDtZhgxQyQX/jJL5SpTAdM5E1+r1NYk7xf+3Ju+ZAUiA8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=oFBSiDmp; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711725597; x=1743261597; h=date:from:to:cc:subject:message-id:mime-version; bh=6lRyftTz6DnnozwPgVFSAhecaNqGp6DtbqpR95KuyLY=; b=oFBSiDmpoM37oUmErVXy9WSt6FwLE6HLla/RBXMfXeq7eu3LHtJBUFSH bTGM7gTbTupjEIPydHyILDZ90KnY2Uj26s6Fm7uu/hLkIQVqpkZ3ot1eP frnfKWPXHnZxDPiLlEXlivjZZBP03ixnLFHwdhKYrEDr0gQutsxFbj1cE 8TKOA1NgJgeAHcdbvWk6REtxboVGZWQmf4fAFMFGxlMQInO8XD4YGpzGZ ij/0Fjfe9dVkz5agnqCEJniZPolQjVCPn+WgHZgDyjGVa+5jI3eoVH1MZ hILj9X3FtfOFNNPsFzXA8Eow7e/PI4hSovuStpiFU4Ko8KmxEyNxEmIrI Q==; X-CSE-ConnectionGUID: 4lA6MqsxRnOqML7WmOxhYQ== X-CSE-MsgGUID: 16GT0hJ9QtqY/Mn6WPmAvg== X-IronPort-AV: E=McAfee;i="6600,9927,11028"; a="17472389" X-IronPort-AV: E=Sophos;i="6.07,165,1708416000"; d="scan'208";a="17472389" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2024 08:19:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,165,1708416000"; d="scan'208";a="17636361" Received: from lkp-server01.sh.intel.com (HELO be39aa325d23) ([10.239.97.150]) by orviesa008.jf.intel.com with ESMTP; 29 Mar 2024 08:19:54 -0700 Received: from kbuild by be39aa325d23 with local (Exim 4.96) (envelope-from ) id 1rqE1I-0003Jy-0n; Fri, 29 Mar 2024 15:19:52 +0000 Date: Fri, 29 Mar 2024 23:19:47 +0800 From: kernel test robot To: "Paul E. McKenney" Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [paulmck-rcu:dev.2024.03.27b 63/69] arch/sh/include/asm/cmpxchg.h:60:24: error: implicit declaration of function 'cmpxchg_emu_u8' Message-ID: <202403292318.88dppMPt-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2024.03.27b head: 786fab3085d764055a78edb54023420920344333 commit: 4977f14819143065158973013b51a3c1f926e61e [63/69] sh: Emulate one-byte and two-byte cmpxchg config: sh-defconfig (https://download.01.org/0day-ci/archive/20240329/202403292318.88dppMPt-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240329/202403292318.88dppMPt-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/202403292318.88dppMPt-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/sh/include/asm/atomic.h:19, from include/linux/atomic.h:7, from include/asm-generic/bitops/lock.h:5, from arch/sh/include/asm/bitops.h:63, from include/linux/bitops.h:68, from include/linux/log2.h:12, from kernel/bounds.c:13: arch/sh/include/asm/cmpxchg.h: In function '__cmpxchg': >> arch/sh/include/asm/cmpxchg.h:60:24: error: implicit declaration of function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration] 60 | return cmpxchg_emu_u8((volatile u8 *)ptr, old, new); | ^~~~~~~~~~~~~~ >> arch/sh/include/asm/cmpxchg.h:62:24: error: implicit declaration of function 'cmpxchg_emu_u16' [-Werror=implicit-function-declaration] 62 | return cmpxchg_emu_u16((volatile u16 *)ptr, old, new); | ^~~~~~~~~~~~~~~ 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_u8 +60 arch/sh/include/asm/cmpxchg.h 54 55 static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, 56 unsigned long new, int size) 57 { 58 switch (size) { 59 case 1: > 60 return cmpxchg_emu_u8((volatile u8 *)ptr, old, new); 61 case 2: > 62 return cmpxchg_emu_u16((volatile u16 *)ptr, old, new); 63 case 4: 64 return __cmpxchg_u32(ptr, old, new); 65 } 66 __cmpxchg_called_with_bad_pointer(); 67 return old; 68 } 69 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki