All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [mark-rutland:atomics/arch-atomic 15/17] drivers/usb/cdns3/../host/xhci.h:1350:1: warning: no semicolon at end of struct or union
Date: Tue, 27 Apr 2021 07:09:05 +0800	[thread overview]
Message-ID: <202104270755.4kBfaDer-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git atomics/arch-atomic
head:   451d56ed8917089d67f2efbf22f190005adb268c
commit: 0cab05ea851461fef9a393600e90df6a828f49a9 [15/17] locking/atomic: csky: move to the arch_atomic API
config: csky-randconfig-r022-20210426 (attached as .config)
compiler: csky-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://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=0cab05ea851461fef9a393600e90df6a828f49a9
        git remote add mark-rutland https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
        git fetch --no-tags mark-rutland atomics/arch-atomic
        git checkout 0cab05ea851461fef9a393600e90df6a828f49a9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=csky 

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

All warnings (new ones prefixed by >>):

   In file included from include/linux/atomic.h:82,
                    from include/asm-generic/bitops/lock.h:5,
                    from arch/csky/include/asm/bitops.h:70,
                    from include/linux/bitops.h:32,
                    from include/linux/kernel.h:11,
                    from include/asm-generic/bug.h:20,
                    from arch/csky/include/asm/bug.h:18,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from include/asm-generic/current.h:5,
                    from ./arch/csky/include/generated/asm/current.h:1,
                    from include/linux/sched.h:12,
                    from include/linux/ratelimit.h:6,
                    from include/linux/dev_printk.h:16,
                    from include/linux/device.h:15,
                    from include/linux/platform_device.h:13,
                    from drivers/usb/cdns3/host.c:12:
   include/asm-generic/atomic-instrumented.h:1804:2: error: expected identifier or '(' before '{' token
    1804 | ({ \
         |  ^
   include/asm-generic/cmpxchg.h:96:17: note: in expansion of macro 'cmpxchg64_local'
      96 | #define generic cmpxchg64_local(ptr, o, n) \
         |                 ^~~~~~~~~~~~~~~
   drivers/usb/cdns3/../host/xhci.h:1349:27: note: in expansion of macro 'generic'
    1349 |  struct xhci_generic_trb  generic;
         |                           ^~~~~~~
   In file included from drivers/usb/cdns3/host.c:17:
>> drivers/usb/cdns3/../host/xhci.h:1350:1: warning: no semicolon at end of struct or union
    1350 | };
         | ^

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for LOCKDEP
   Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
   Selected by
   - PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
   - DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT


vim +1350 drivers/usb/cdns3/../host/xhci.h

7f84eef0dafb1d Sarah Sharp 2009-04-27  1344  
7f84eef0dafb1d Sarah Sharp 2009-04-27  1345  union xhci_trb {
7f84eef0dafb1d Sarah Sharp 2009-04-27  1346  	struct xhci_link_trb		link;
7f84eef0dafb1d Sarah Sharp 2009-04-27  1347  	struct xhci_transfer_event	trans_event;
7f84eef0dafb1d Sarah Sharp 2009-04-27  1348  	struct xhci_event_cmd		event_cmd;
7f84eef0dafb1d Sarah Sharp 2009-04-27 @1349  	struct xhci_generic_trb		generic;
7f84eef0dafb1d Sarah Sharp 2009-04-27 @1350  };
7f84eef0dafb1d Sarah Sharp 2009-04-27  1351  

:::::: The code at line 1350 was first introduced by commit
:::::: 7f84eef0dafb1d318263d8b71c38700aaf2d530d USB: xhci: No-op command queueing and irq handler.

:::::: TO: Sarah Sharp <sarah.a.sharp@linux.intel.com>
:::::: CC: Greg Kroah-Hartman <gregkh@suse.de>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 42910 bytes --]

                 reply	other threads:[~2021-04-26 23:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202104270755.4kBfaDer-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@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.