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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BE00C001B0 for ; Tue, 15 Aug 2023 06:05:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234986AbjHOGEo (ORCPT ); Tue, 15 Aug 2023 02:04:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234793AbjHOGDo (ORCPT ); Tue, 15 Aug 2023 02:03:44 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA8C610B for ; Mon, 14 Aug 2023 23:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692079422; x=1723615422; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=fmWL8148XO8APcqd77xkkyCD6Kn5Ec7FeYc5z5PSGyw=; b=MJ4abMKmfOm8l06Kik9641eu8MemyRAmYjVf9VMub0PRUTdLS13ewOT3 mFZ9wXKrVcoZe91YSg8uSdIUd11sYrfBBPyGgXrtM6UXOoBLgFkHQrkPY 5Ktxv9dE5Csvk3C6FBbewpDPxGtJuNqmKt5J9xs04HTv9d/grvEhvQSdj PWP7Z3LXmEjlonl+UlyC9nSK6J5gi9RSuo2kJ4h81rnRw0KrBtjWs7vs+ +k/5YnaUZz06o84GhiRbcjmH2OI37+73PVD/jiUF9C5U4Uyjpmgqe+FQ7 2l/rIjRoF7nSundHQTV4paIg+e2QdstuAakJyHI6dmIqZiepODJ/IEs2X g==; X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="374980279" X-IronPort-AV: E=Sophos;i="6.01,174,1684825200"; d="scan'208";a="374980279" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2023 23:03:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="823728116" X-IronPort-AV: E=Sophos;i="6.01,174,1684825200"; d="scan'208";a="823728116" Received: from lkp-server02.sh.intel.com (HELO b5fb8d9e1ffc) ([10.239.97.151]) by FMSMGA003.fm.intel.com with ESMTP; 14 Aug 2023 23:03:35 -0700 Received: from kbuild by b5fb8d9e1ffc with local (Exim 4.96) (envelope-from ) id 1qVn9S-0000hb-2G; Tue, 15 Aug 2023 06:03:34 +0000 Date: Tue, 15 Aug 2023 14:03:13 +0800 From: kernel test robot To: Vineet Gupta , linux-snps-arc@lists.infradead.org Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Shahab Vahedi , Alexey Brodkin , Vineet Gupta Subject: Re: [PATCH 20/20] ARC: pt_regs: create seperate type for ecr Message-ID: <202308151342.ROQ9Urvv-lkp@intel.com> References: <20230815004813.555115-21-vgupta@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230815004813.555115-21-vgupta@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vineet, kernel test robot noticed the following build errors: [auto build test ERROR on vgupta-arc/for-curr] [cannot apply to vgupta-arc/for-next linus/master v6.5-rc6 next-20230809] [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/Vineet-Gupta/ARC-uaccess-remove-arc-specific-out-of-line-handles-for-Os/20230815-085308 base: https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git for-curr patch link: https://lore.kernel.org/r/20230815004813.555115-21-vgupta%40kernel.org patch subject: [PATCH 20/20] ARC: pt_regs: create seperate type for ecr config: arc-randconfig-r043-20230815 (https://download.01.org/0day-ci/archive/20230815/202308151342.ROQ9Urvv-lkp@intel.com/config) compiler: arc-elf-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230815/202308151342.ROQ9Urvv-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/202308151342.ROQ9Urvv-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/arc/include/asm/ptrace.h:11, from arch/arc/include/asm/bug.h:11, from include/linux/bug.h:5, from include/linux/page-flags.h:10, from kernel/bounds.c:10: arch/arc/include/asm/ptrace.h: In function 'regs_get_register': >> include/linux/stddef.h:16:33: error: 'struct pt_regs' has no member named 'event' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ arch/arc/include/asm/ptrace.h:57:24: note: in expansion of macro 'offsetof' 57 | #define MAX_REG_OFFSET offsetof(struct pt_regs, event) | ^~~~~~~~ arch/arc/include/asm/ptrace.h:164:31: note: in expansion of macro 'MAX_REG_OFFSET' 164 | if (unlikely(offset > MAX_REG_OFFSET)) | ^~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:116: kernel/bounds.s] Error 1 shuffle=716081594 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1287: prepare0] Error 2 shuffle=716081594 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:234: __sub-make] Error 2 shuffle=716081594 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:234: __sub-make] Error 2 shuffle=716081594 make: Target 'prepare' not remade because of errors. vim +16 include/linux/stddef.h 6e218287432472 Richard Knutsson 2006-09-30 14 ^1da177e4c3f41 Linus Torvalds 2005-04-16 15 #undef offsetof 14e83077d55ff4 Rasmus Villemoes 2022-03-23 @16 #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) 3876488444e712 Denys Vlasenko 2015-03-09 17 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki