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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A36A6C47077 for ; Sat, 6 Jan 2024 05:44:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=p3TODBzq/xQI9JF6x7bThiUmNI1fxUpHadXwiExus0U=; b=PXIU4Ij5IFQmSs E2+LDgVnuxHOzWKbIGQn3ILRl7SwN9Yn+6j5LDUQOMcoZJbqZNqMZDK9lM3SxVWy40Fd5Bp321iJi 2eaH802aa5Plib1Kffx4lEy7QIV0nlTrX5J50bhUWHY5JjRwZGZJ7ZGYHa+c47zIootZjGiwaOftT pMu7ELHZxG/mKIMErN4g+2cT5h1dNix9Fvyq8GSXgQXIdpqPeqQuI5tLo4cIZQ85SM7TphJxgb8lW DpJPa1SHqdRqcQN6nFyrFF9dWGGBVaY+Ivy663d1b5+w7Wkta/KEsIfFxvz9AIG2QPIOT2u6eZbZf sFnpAePXutr2byHUBa5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rLzTQ-000nUl-1P; Sat, 06 Jan 2024 05:43:56 +0000 Received: from mgamail.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rLzTN-000nTw-1N for linux-arm-kernel@lists.infradead.org; Sat, 06 Jan 2024 05:43:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704519833; x=1736055833; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=d/8JurniXPve31+AHDV/0T4KeJPPdZhyFmthF7Cv64U=; b=ZN2Cc9a2QiG7ZIXT+1wZ4eoRBekM4A63zbbMq7HWoJ4qlQm/TFP24tTp vsMIbmLwl6Mq66S3mNI09cY3+uDqjuZ/9zBYwPZlp53zkwbsjMUy/anvz t+XPxovfNal9UydeWF8OtPf7AUtcSI1p0W2pxdvwL7B8yMwyZCyO/P9yI hWmkiM+TWIpu3qvUSrpLfPB2AsoXPwyg6qA2iCcRCZug68eKRRY+q7Xmk c6ow/lIYE5zjnruVp/9OSXbRrSuGCQgl7YqWLTWyuANx22NYDTxV+3ImA TjN8KmT0Zq0tmLe5g6f9G7BJ86gqXdhXWaoSw84efBKaHZQUeRer9Lgk8 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10944"; a="394812310" X-IronPort-AV: E=Sophos;i="6.04,336,1695711600"; d="scan'208";a="394812310" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2024 21:43:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10944"; a="871404304" X-IronPort-AV: E=Sophos;i="6.04,336,1695711600"; d="scan'208";a="871404304" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by FMSMGA003.fm.intel.com with ESMTP; 05 Jan 2024 21:43:19 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rLzSn-000250-1D; Sat, 06 Jan 2024 05:43:17 +0000 Date: Sat, 6 Jan 2024 13:42:25 +0800 From: kernel test robot To: Leonardo Bras , Oleg Nesterov , Catalin Marinas , Will Deacon , Mark Brown , Mark Rutland , "Steven Rostedt (Google)" , Arnd Bergmann , Guo Hui Cc: oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/1] arm64: remove unnecessary ifdefs around is_compat_task() Message-ID: <202401061355.h6lWuexc-lkp@intel.com> References: <20240105041458.126602-3-leobras@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240105041458.126602-3-leobras@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240105_214353_475368_3590E330 X-CRM114-Status: GOOD ( 18.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Leonardo, kernel test robot noticed the following build errors: [auto build test ERROR on arm64/for-next/core] [also build test ERROR on linus/master v6.7-rc8 next-20240105] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Leonardo-Bras/arm64-remove-unnecessary-ifdefs-around-is_compat_task/20240105-121957 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core patch link: https://lore.kernel.org/r/20240105041458.126602-3-leobras%40redhat.com patch subject: [PATCH v1 1/1] arm64: remove unnecessary ifdefs around is_compat_task() config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20240106/202401061355.h6lWuexc-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240106/202401061355.h6lWuexc-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/202401061355.h6lWuexc-lkp@intel.com/ All errors (new ones prefixed by >>): arch/arm64/kernel/ptrace.c: In function 'task_user_regset_view': >> arch/arm64/kernel/ptrace.c:2121:25: error: 'user_aarch32_view' undeclared (first use in this function); did you mean 'user_aarch64_view'? 2121 | return &user_aarch32_view; | ^~~~~~~~~~~~~~~~~ | user_aarch64_view arch/arm64/kernel/ptrace.c:2121:25: note: each undeclared identifier is reported only once for each function it appears in >> arch/arm64/kernel/ptrace.c:2123:25: error: 'user_aarch32_ptrace_view' undeclared (first use in this function) 2123 | return &user_aarch32_ptrace_view; | ^~~~~~~~~~~~~~~~~~~~~~~~ vim +2121 arch/arm64/kernel/ptrace.c 478fcb2cdb2351 Will Deacon 2012-03-05 2111 478fcb2cdb2351 Will Deacon 2012-03-05 2112 const struct user_regset_view *task_user_regset_view(struct task_struct *task) 478fcb2cdb2351 Will Deacon 2012-03-05 2113 { 5d220ff9420f8b Catalin Marinas 2015-07-14 2114 /* 5d220ff9420f8b Catalin Marinas 2015-07-14 2115 * Core dumping of 32-bit tasks or compat ptrace requests must use the 5d220ff9420f8b Catalin Marinas 2015-07-14 2116 * user_aarch32_view compatible with arm32. Native ptrace requests on 5d220ff9420f8b Catalin Marinas 2015-07-14 2117 * 32-bit children use an extended user_aarch32_ptrace_view to allow 5d220ff9420f8b Catalin Marinas 2015-07-14 2118 * access to the TLS register. 5d220ff9420f8b Catalin Marinas 2015-07-14 2119 */ 5d220ff9420f8b Catalin Marinas 2015-07-14 2120 if (is_compat_task()) 478fcb2cdb2351 Will Deacon 2012-03-05 @2121 return &user_aarch32_view; 5d220ff9420f8b Catalin Marinas 2015-07-14 2122 else if (is_compat_thread(task_thread_info(task))) 5d220ff9420f8b Catalin Marinas 2015-07-14 @2123 return &user_aarch32_ptrace_view; e802ab35101cdf Leonardo Bras 2024-01-05 2124 478fcb2cdb2351 Will Deacon 2012-03-05 2125 return &user_aarch64_view; 478fcb2cdb2351 Will Deacon 2012-03-05 2126 } 478fcb2cdb2351 Will Deacon 2012-03-05 2127 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel