Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp995899pxv; Thu, 22 Jul 2021 18:36:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzB5BkYmlSgdPuJdHbZlc4lTmWLNy90g1cA2beZ7PIJZExc3buHVvXSeor0s079MX/b9wj2 X-Received: by 2002:a17:906:7691:: with SMTP id o17mr2508092ejm.209.1627004195067; Thu, 22 Jul 2021 18:36:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627004195; cv=none; d=google.com; s=arc-20160816; b=OpTp9h/woeCRBdcnnu2FqxHN1DrvXhL4D2u1wtNN3Xmvm6wuxbWlENQOQnHl+VoMzq e6bioR0m2ebWDm8drUxVJtgBGaIS+8knW/l4PrIMGAMhfxqgaVxYXJhNfOZDzFtzhjYS GGJ+wNlGaNbv5+ng9l63rk8dyc/dNvTQtEOc9vPW2xJNH3k/C9QHZtEAT8ndRumEpr6N kcm9R2/EsAutyAUrQKbrs+fJtRtyxtdcPGau2aXoW6GEdidSdwGw+qZdg7lO7G1a4qOV ysNRtgtXWaCT8JHv/5de3haU1fmgrXC5iZLhCyKI2adRWg8G6rPPWr2lZHzAbzrQS2N8 gYOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=XZaK/ojFSsNbFzLpPcV2OVpt74im3h53L45JPhDcaFk=; b=XupciKs+0Al4UUO1rGSGDhBQXCEsRAE+sblwxQYBZ/uy9/7czbdQLdmmwnaUEraAI+ sb6Kh+Gi2o2zCNNfcgrTIK1dOjwfgzmsYoWNWB8gkyl8fGYrmkJ2WnpLVzKPyp60kHb/ sJAhNy9eaiaHt5YC0R0Ve5VOm7qgpEwhHkBCuTAyfZnApXwrlIQ7LACX5KnGf1LcEi6x Lb73LSqlXAhGqy7YL7/ymrk0d/0yDZZ0gFbxzvt226s5OyueLo4SSeOzVIXbDQ7oub+t QBodao7cjHQITOW8Lm2owD0zfQ1bILbBYiHc5TtGDyZRf/C8NcJ7D3eS9mCdBXGHKOvq Io4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 21si21970290ejz.246.2021.07.22.18.36.05; Thu, 22 Jul 2021 18:36:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233039AbhGWAzY (ORCPT + 99 others); Thu, 22 Jul 2021 20:55:24 -0400 Received: from mga02.intel.com ([134.134.136.20]:55328 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232892AbhGWAzX (ORCPT ); Thu, 22 Jul 2021 20:55:23 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10053"; a="198987750" X-IronPort-AV: E=Sophos;i="5.84,262,1620716400"; d="scan'208";a="198987750" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2021 18:35:54 -0700 X-IronPort-AV: E=Sophos;i="5.84,262,1620716400"; d="scan'208";a="433364508" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.249.174.9]) ([10.249.174.9]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2021 18:35:51 -0700 Subject: Re: [PATCH v3 14/15] samples: Add fs error monitoring example To: Gabriel Krisman Bertazi Cc: Dan Carpenter , kernel test robot , amir73il@gmail.com, kbuild-all@lists.01.org, djwong@kernel.org, tytso@mit.edu, david@fromorbit.com, jack@suse.com, dhowells@redhat.com, khazhy@google.com, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org References: <20210629191035.681913-15-krisman@collabora.com> <202106301048.BainWUsk-lkp@intel.com> <87mtqicqux.fsf@collabora.com> <20210720194955.GH25548@kadam> <4313fff4-343a-2937-3a97-c5da860827b1@intel.com> <874kcmb9zs.fsf@collabora.com> From: "Chen, Rong A" Message-ID: <31d5c954-0188-e91f-4444-faeb6dc1339a@intel.com> Date: Fri, 23 Jul 2021 09:35:49 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <874kcmb9zs.fsf@collabora.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 7/23/2021 12:15 AM, Gabriel Krisman Bertazi wrote: > "Chen, Rong A" writes: > >> Hi Gabriel, >> >> On 7/21/2021 3:49 AM, Dan Carpenter wrote: >>> On Mon, Jul 19, 2021 at 10:36:54AM -0400, Gabriel Krisman Bertazi >>> wrote: >>>> kernel test robot writes: >>>> >>>>> Hi Gabriel, >>>>> >>>>> I love your patch! Yet something to improve: >>>>> >>>>> [auto build test ERROR on ext3/fsnotify] >>>>> [also build test ERROR on ext4/dev linus/master v5.13 next-20210629] >>>>> [cannot apply to tytso-fscrypt/master] >>>>> [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/Gabriel-Krisman-Bertazi/File-system-wide-monitoring/20210630-031347 >>>>> base: https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify >>>>> config: arm64-allyesconfig (attached as .config) >>>>> compiler: aarch64-linux-gcc (GCC) 9.3.0 >>>>> reproduce (this is a W=1 build): >>>>> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross >>>>> chmod +x ~/bin/make.cross >>>>> # https://github.com/0day-ci/linux/commit/746524d8db08a041fed90e41b15c8e8ca69cb22d >>>>> git remote add linux-review https://github.com/0day-ci/linux >>>>> git fetch --no-tags linux-review Gabriel-Krisman-Bertazi/File-system-wide-monitoring/20210630-031347 >>>>> git checkout 746524d8db08a041fed90e41b15c8e8ca69cb22d >>>>> # save the attached .config to linux build tree >>>>> mkdir build_dir >>>>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash samples/ >>>>> >>>>> If you fix the issue, kindly add following tag as appropriate >>>>> Reported-by: kernel test robot >>>>> >>>>> All errors (new ones prefixed by >>): >>>>> >>>>>>> samples/fanotify/fs-monitor.c:7:10: fatal error: errno.h: No such file or directory >>>>> 7 | #include >>>>> | ^~~~~~~~~ >>>>> compilation terminated. >>>> >>>> Hi Dan, >>>> >>>> I'm not sure what's the proper fix here. Looks like 0day is not using >>>> cross system libraries when building this user space code. Should I do >>>> something special to silent it? >> >> It seems need extra libraries for arm64, we'll disable CONFIG_SAMPLES to >> avoid reporting this error. > > There are kernel space code in samples/ that still benefit from the test > robot. See ftrace/ftrace-direct-too.c for one instance. > > Perhaps it can be disabled just for userprogs-* Makefile entries in > samples/ ? > we'll still test samples on arch x86_64, is there a simple way to disable userprogs-* cases? we don't want to edit kernel code. Best Regards, Rong Chen