From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2003803157571276030==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC 2/2] printk/bug: Remove cyclic dependency between bug.h and printk.h Date: Wed, 12 Jan 2022 01:09:14 +0800 Message-ID: <202201120128.dVQMowKU-lkp@intel.com> In-Reply-To: <20220111143046.14680-3-pmladek@suse.com> List-Id: --===============2003803157571276030== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Petr, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on arnd-asm-generic/master] [also build test ERROR on linux/master linus/master v5.16 next-20220111] [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/Petr-Mladek/printk-Remove-= cyclic-include-dependencies-with-printk-h/20220111-223246 base: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.gi= t master config: csky-allnoconfig (https://download.01.org/0day-ci/archive/20220112/= 202201120128.dVQMowKU-lkp(a)intel.com/config) compiler: csky-linux-gcc (GCC) 11.2.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/56a92e414d984931b56ad82e0= d20ecdc7670fe29 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Petr-Mladek/printk-Remove-cyclic-i= nclude-dependencies-with-printk-h/20220111-223246 git checkout 56a92e414d984931b56ad82e0d20ecdc7670fe29 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Dcsky olddefconfig 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 include/linux/compiler_types.h:65, from : >> arch/csky/include/asm/processor.h:20:13: error: 'SMP_CACHE_BYTES' undecl= ared here (not in a function); did you mean 'L1_CACHE_BYTES'? 20 | } __aligned(SMP_CACHE_BYTES); | ^~~~~~~~~~~~~~~ include/linux/compiler_attributes.h:33:68: note: in definition of macro = '__aligned' 33 | #define __aligned(x) __attribute__((__aligned= __(x))) | = ^ make[2]: *** [scripts/Makefile.build:121: arch/csky/kernel/asm-offsets.s= ] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1197: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:219: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +20 arch/csky/include/asm/processor.h e9564df753fd54 Guo Ren 2018-09-05 17 = e9564df753fd54 Guo Ren 2018-09-05 18 struct cpuinfo_csky { e9564df753fd54 Guo Ren 2018-09-05 19 unsigned long asid_cache; e9564df753fd54 Guo Ren 2018-09-05 @20 } __aligned(SMP_CACHE_BYTES); e9564df753fd54 Guo Ren 2018-09-05 21 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============2003803157571276030==--