Content-Type: multipart/mixed; boundary="===============1726555572657873219==" MIME-Version: 1.0 From: Chen, Rong A To: kbuild-all@lists.01.org Subject: Re: [PATCH v3 14/15] samples: Add fs error monitoring example Date: Thu, 22 Jul 2021 20:54:36 +0800 Message-ID: <4313fff4-343a-2937-3a97-c5da860827b1@intel.com> In-Reply-To: <20210720194955.GH25548@kadam> List-Id: --===============1726555572657873219== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-Bertaz= i/File-system-wide-monitoring/20210630-031347 >>> base: https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.g= it fsnotify >>> config: arm64-allyesconfig (attached as .config) >>> compiler: aarch64-linux-gcc (GCC) 9.3.0 >>> reproduce (this is a W=3D1 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/746524d8db08a041fed9= 0e41b15c8e8ca69cb22d >>> 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=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.c= ross O=3Dbuild_dir ARCH=3Darm64 SHELL=3D/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 fil= e 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. Best Regards, Rong Chen > = > I'm not the person to ask, I just look at Smatch warnings. Rong Chen > might know the answer. > = > regards, > dan carpenter >=20 --===============1726555572657873219==--