All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: Re: [v2 2/2] kbuild: copy scripts/atomic/atomic-*.h to include/generated/atomic-*.h
Date: Sat, 14 May 2022 18:41:39 +0800	[thread overview]
Message-ID: <202205141841.Ly34nLMi-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 12312 bytes --]

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
In-Reply-To: <20220514040207.282910-2-masahiroy@kernel.org>
References: <20220514040207.282910-2-masahiroy@kernel.org>
TO: Masahiro Yamada <masahiroy@kernel.org>
TO: linux-kbuild(a)vger.kernel.org
CC: linux-kernel(a)vger.kernel.org
CC: Mark Rutland <mark.rutland@arm.com>
CC: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
CC: Masahiro Yamada <masahiroy@kernel.org>

Hi Masahiro,

I love your patch! Perhaps something to improve:

[auto build test WARNING on masahiroy-kbuild/for-next]
[also build test WARNING on linux/master linus/master v5.18-rc6 next-20220513]
[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/intel-lab-lkp/linux/commits/Masahiro-Yamada/kbuild-move-scripts-mod-build-to-modules_prepare/20220514-120519
base:   https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git for-next
:::::: branch date: 7 hours ago
:::::: commit date: 7 hours ago
config: sparc-randconfig-s031-20220512 (https://download.01.org/0day-ci/archive/20220514/202205141841.Ly34nLMi-lkp(a)intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://github.com/intel-lab-lkp/linux/commit/2317716a72142c0f8ac4bdf728fa666b64164cef
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Masahiro-Yamada/kbuild-move-scripts-mod-build-to-modules_prepare/20220514-120519
        git checkout 2317716a72142c0f8ac4bdf728fa666b64164cef
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc SHELL=/bin/bash arch/sparc/vdso/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
   arch/sparc/vdso/vdso32/vclock_gettime.c: note: in included file (through arch/sparc/include/asm/atomic.h, include/linux/atomic.h, include/asm-generic/bitops/lock.h, ...):
   arch/sparc/include/asm/atomic_64.h:37:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:37:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:37:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:37:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:37:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:37:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:38:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:38:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:38:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:38:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:38:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:38:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:43:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:43:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:43:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:43:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:44:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:44:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:44:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:44:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:45:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:45:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:45:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:45:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:63:46: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:63:46: sparse: sparse: got *
   arch/sparc/vdso/vdso32/vclock_gettime.c: note: in included file (through include/linux/atomic/atomic-arch-fallback.h, include/linux/atomic.h, include/asm-generic/bitops/lock.h, ...):
   ./include/generated/atomic-arch-fallback.h:1273:45: sparse: sparse: Expected ) in function declarator
   ./include/generated/atomic-arch-fallback.h:1273:45: sparse: sparse: got *
   ./include/generated/atomic-arch-fallback.h:1277:13: sparse: sparse: Expected ) in function declarator
   ./include/generated/atomic-arch-fallback.h:1277:13: sparse: sparse: got (
>> ./include/generated/atomic-arch-fallback.h:1277:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: Expected ) in function declarator
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: got !
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: Trying to use reserved word 'if' as identifier
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: Expected ) in nested declarator
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: got volatile
>> ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: Trying to use reserved word 'const' as identifier
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: got }
>> ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: Trying to use reserved word 'do' as identifier
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: Expected ; at end of declaration
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: got {
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: Expected ) in function declarator
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: got !
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: Trying to use reserved word 'if' as identifier
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1278:23: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1279:9: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1279:9: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1280:23: sparse: sparse: Expected ) in function declarator
   ./include/generated/atomic-arch-fallback.h:1280:23: sparse: sparse: got !
   ./include/generated/atomic-arch-fallback.h:1280:23: sparse: sparse: Trying to use reserved word 'if' as identifier
   ./include/generated/atomic-arch-fallback.h:1280:23: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1280:23: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1280:23: sparse: sparse: Expected ) in nested declarator
   ./include/generated/atomic-arch-fallback.h:1280:23: sparse: sparse: got volatile
   ./include/generated/atomic-arch-fallback.h:1280:23: sparse: sparse: Trying to use reserved word 'const' as identifier
   ./include/generated/atomic-arch-fallback.h:1280:23: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1280:23: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1281:17: sparse: sparse: Trying to use reserved word 'do' as identifier
   ./include/generated/atomic-arch-fallback.h:1281:17: sparse: sparse: Expected ; at end of declaration
   ./include/generated/atomic-arch-fallback.h:1281:17: sparse: sparse: got {
   ./include/generated/atomic-arch-fallback.h:1281:17: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1281:17: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1282:9: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1282:9: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1285:1: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1285:1: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Trying to use reserved word 'do' as identifier
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Expected ; at end of declaration
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: got {
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Expected ) in function declarator
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: got !
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Trying to use reserved word 'do' as identifier
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Expected ; at end of declaration
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: got {
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Expected ) in function declarator
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: got !
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Trying to use reserved word 'do' as identifier
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Expected ; at end of declaration
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: got {
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1294:17: sparse: sparse: got }
   ./include/generated/atomic-arch-fallback.h:1295:9: sparse: sparse: Expected ; at the end of type declaration
   ./include/generated/atomic-arch-fallback.h:1295:9: sparse: sparse: got }
>> ./include/generated/atomic-arch-fallback.h:1296:17: sparse: sparse: too many errors

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

             reply	other threads:[~2022-05-14 10:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14 10:41 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-16 10:42 [v2 2/2] kbuild: copy scripts/atomic/atomic-*.h to include/generated/atomic-*.h kernel test robot
2022-05-14  4:02 [v2 1/2] kbuild: move scripts/mod/ build to modules_prepare Masahiro Yamada
2022-05-14  4:02 ` [v2 2/2] kbuild: copy scripts/atomic/atomic-*.h to include/generated/atomic-*.h Masahiro Yamada
2022-05-16  8:42   ` Mark Rutland
2022-05-16  9:30     ` Masahiro Yamada
2022-05-19  9:16       ` Mark Rutland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202205141841.Ly34nLMi-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.