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 C6043C433F5 for ; Sun, 5 Dec 2021 03:05:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231277AbhLEDIt (ORCPT ); Sat, 4 Dec 2021 22:08:49 -0500 Received: from mga14.intel.com ([192.55.52.115]:19934 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229682AbhLEDIr (ORCPT ); Sat, 4 Dec 2021 22:08:47 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10188"; a="237382212" X-IronPort-AV: E=Sophos;i="5.87,288,1631602800"; d="scan'208";a="237382212" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2021 19:05:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,288,1631602800"; d="scan'208";a="578887804" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 04 Dec 2021 19:05:18 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mthq1-000Jjd-NK; Sun, 05 Dec 2021 03:05:17 +0000 Date: Sun, 5 Dec 2021 11:04:22 +0800 From: kernel test robot To: Alistair Francis , linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, jolsa@redhat.com, mingo@redhat.com, dave@stgolabs.net, linux-perf-users@vger.kernel.org, arnd@arndb.de, namhyung@kernel.org, alistair23@gmail.com, mark.rutland@arm.com, tglx@linutronix.de Subject: Re: [PATCH v4 3/6] uapi: futex: Add a futex syscall Message-ID: <202112051113.Z2TMYJx9-lkp@intel.com> References: <20211202111659.2077911-3-alistair.francis@opensource.wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211202111659.2077911-3-alistair.francis@opensource.wdc.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alistair, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/locking/core] [also build test ERROR on linux/master soc/for-next linus/master v5.16-rc3 next-20211203] [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] url: https://github.com/0day-ci/linux/commits/Alistair-Francis/perf-bench-futex-Add-support-for-32-bit-systems-with-64-bit-time_t/20211202-192015 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 4e0d84634445ed550498d613a49ea8f6cfa5e66c config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20211205/202112051113.Z2TMYJx9-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/710fc0b1a255e93e04efbaccf76f6445db51ff1f git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Alistair-Francis/perf-bench-futex-Add-support-for-32-bit-systems-with-64-bit-time_t/20211202-192015 git checkout 710fc0b1a255e93e04efbaccf76f6445db51ff1f # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from :32: ./usr/include/linux/futex_syscall.h:33:16: warning: 'struct timespec' declared inside parameter list will not be visible outside of this definition or declaration 33 | struct timespec *timeout, __volatile__ uint32_t *uaddr2, int val3) | ^~~~~~~~ ./usr/include/linux/futex_syscall.h: In function '__kernel_futex_syscall_timeout': >> ./usr/include/linux/futex_syscall.h:36:13: error: dereferencing pointer to incomplete type 'struct timespec' 36 | if (sizeof(*timeout) != sizeof(struct __kernel_old_timespec)) { | ^~~~~~~~ >> ./usr/include/linux/futex_syscall.h:37:13: error: implicit declaration of function 'syscall' [-Werror=implicit-function-declaration] 37 | int ret = syscall(__NR_futex_time64, uaddr, op, val, timeout, uaddr2, val3); | ^~~~~~~ cc1: some warnings being treated as errors --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org