The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Parav Pandit <pandit.parav@gmail.com>
Cc: kbuild-all@01.org, cgroups@vger.kernel.org,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-rdma@vger.kernel.org, tj@kernel.org, lizefan@huawei.com,
	hannes@cmpxchg.org, dledford@redhat.com, liranl@mellanox.com,
	sean.hefty@intel.com, jgunthorpe@obsidianresearch.com,
	haggaie@mellanox.com, corbet@lwn.net, james.l.morris@oracle.com,
	serge@hallyn.com, ogerlitz@mellanox.com, matanb@mellanox.com,
	raindel@mellanox.com, akpm@linux-foundation.org,
	linux-security-module@vger.kernel.org, pandit.parav@gmail.com
Subject: Re: [PATCHv4 2/3] IB/core: added support to use rdma cgroup controller
Date: Sun, 31 Jan 2016 09:17:33 +0800	[thread overview]
Message-ID: <201601310900.q7yqBBOS%fengguang.wu@intel.com> (raw)
In-Reply-To: <1454192901-31003-3-git-send-email-pandit.parav@gmail.com>

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

Hi Parav,

[auto build test ERROR on cgroup/for-next]
[cannot apply to v4.5-rc1 next-20160129]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Parav-Pandit/rdmacg-IB-core-rdma-controller-support/20160131-063313
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-next
config: i386-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from include/linux/cgroup_rdma.h:5:0,
                    from include/rdma/ib_verbs.h:58,
                    from include/rdma/ib_cache.h:38,
                    from drivers/infiniband/ulp/srp/ib_srp.c:43:
>> include/linux/parser.h:12:8: error: redefinition of 'struct match_token'
    struct match_token {
           ^
   In file included from drivers/infiniband/ulp/srp/ib_srp.c:40:0:
   include/linux/parser.h:12:8: note: originally defined here
    struct match_token {
           ^
   In file included from include/linux/cgroup_rdma.h:5:0,
                    from include/rdma/ib_verbs.h:58,
                    from include/rdma/ib_cache.h:38,
                    from drivers/infiniband/ulp/srp/ib_srp.c:43:
>> include/linux/parser.h:17:28: error: conflicting types for 'match_table_t'
    typedef struct match_token match_table_t[];
                               ^
   In file included from drivers/infiniband/ulp/srp/ib_srp.c:40:0:
   include/linux/parser.h:17:28: note: previous declaration of 'match_table_t' was here
    typedef struct match_token match_table_t[];
                               ^
   In file included from include/linux/cgroup_rdma.h:5:0,
                    from include/rdma/ib_verbs.h:58,
                    from include/rdma/ib_cache.h:38,
                    from drivers/infiniband/ulp/srp/ib_srp.c:43:
>> include/linux/parser.h:20:7: error: redeclaration of enumerator 'MAX_OPT_ARGS'
    enum {MAX_OPT_ARGS = 3};
          ^
   In file included from drivers/infiniband/ulp/srp/ib_srp.c:40:0:
   include/linux/parser.h:20:7: note: previous definition of 'MAX_OPT_ARGS' was here
    enum {MAX_OPT_ARGS = 3};
          ^
   In file included from include/linux/cgroup_rdma.h:5:0,
                    from include/rdma/ib_verbs.h:58,
                    from include/rdma/ib_cache.h:38,
                    from drivers/infiniband/ulp/srp/ib_srp.c:43:
>> include/linux/parser.h:26:3: error: conflicting types for 'substring_t'
    } substring_t;
      ^
   In file included from drivers/infiniband/ulp/srp/ib_srp.c:40:0:
   include/linux/parser.h:26:3: note: previous declaration of 'substring_t' was here
    } substring_t;
      ^
   In file included from include/linux/cgroup_rdma.h:5:0,
                    from include/rdma/ib_verbs.h:58,
                    from include/rdma/ib_cache.h:38,
                    from drivers/infiniband/ulp/srp/ib_srp.c:43:
>> include/linux/parser.h:28:5: error: conflicting types for 'match_token'
    int match_token(char *, const match_table_t table, substring_t args[]);
        ^
   In file included from drivers/infiniband/ulp/srp/ib_srp.c:40:0:
   include/linux/parser.h:28:5: note: previous declaration of 'match_token' was here
    int match_token(char *, const match_table_t table, substring_t args[]);
        ^
   In file included from include/linux/cgroup_rdma.h:5:0,
                    from include/rdma/ib_verbs.h:58,
                    from include/rdma/ib_cache.h:38,
                    from drivers/infiniband/ulp/srp/ib_srp.c:43:
>> include/linux/parser.h:29:5: error: conflicting types for 'match_int'
    int match_int(substring_t *, int *result);
        ^
   In file included from drivers/infiniband/ulp/srp/ib_srp.c:40:0:
   include/linux/parser.h:29:5: note: previous declaration of 'match_int' was here
    int match_int(substring_t *, int *result);
        ^
   In file included from include/linux/cgroup_rdma.h:5:0,
                    from include/rdma/ib_verbs.h:58,
                    from include/rdma/ib_cache.h:38,
                    from drivers/infiniband/ulp/srp/ib_srp.c:43:
>> include/linux/parser.h:30:5: error: conflicting types for 'match_octal'
    int match_octal(substring_t *, int *result);
        ^
   In file included from drivers/infiniband/ulp/srp/ib_srp.c:40:0:
   include/linux/parser.h:30:5: note: previous declaration of 'match_octal' was here
    int match_octal(substring_t *, int *result);
        ^
   In file included from include/linux/cgroup_rdma.h:5:0,
                    from include/rdma/ib_verbs.h:58,
                    from include/rdma/ib_cache.h:38,
                    from drivers/infiniband/ulp/srp/ib_srp.c:43:
>> include/linux/parser.h:31:5: error: conflicting types for 'match_hex'
    int match_hex(substring_t *, int *result);
        ^
   In file included from drivers/infiniband/ulp/srp/ib_srp.c:40:0:
   include/linux/parser.h:31:5: note: previous declaration of 'match_hex' was here
    int match_hex(substring_t *, int *result);
        ^
   In file included from include/linux/cgroup_rdma.h:5:0,
                    from include/rdma/ib_verbs.h:58,
                    from include/rdma/ib_cache.h:38,
                    from drivers/infiniband/ulp/srp/ib_srp.c:43:
>> include/linux/parser.h:33:8: error: conflicting types for 'match_strlcpy'
    size_t match_strlcpy(char *, const substring_t *, size_t);
           ^
   In file included from drivers/infiniband/ulp/srp/ib_srp.c:40:0:
   include/linux/parser.h:33:8: note: previous declaration of 'match_strlcpy' was here
    size_t match_strlcpy(char *, const substring_t *, size_t);
           ^
   In file included from include/linux/cgroup_rdma.h:5:0,
                    from include/rdma/ib_verbs.h:58,
                    from include/rdma/ib_cache.h:38,
                    from drivers/infiniband/ulp/srp/ib_srp.c:43:
>> include/linux/parser.h:34:7: error: conflicting types for 'match_strdup'
    char *match_strdup(const substring_t *);
          ^
   In file included from drivers/infiniband/ulp/srp/ib_srp.c:40:0:
   include/linux/parser.h:34:7: note: previous declaration of 'match_strdup' was here
    char *match_strdup(const substring_t *);
          ^

vim +12 include/linux/parser.h

^1da177e Linus Torvalds    2005-04-16   6   * but could potentially be used anywhere else that simple option=arg
^1da177e Linus Torvalds    2005-04-16   7   * parsing is required.
^1da177e Linus Torvalds    2005-04-16   8   */
^1da177e Linus Torvalds    2005-04-16   9  
^1da177e Linus Torvalds    2005-04-16  10  
^1da177e Linus Torvalds    2005-04-16  11  /* associates an integer enumerator with a pattern string. */
^1da177e Linus Torvalds    2005-04-16 @12  struct match_token {
^1da177e Linus Torvalds    2005-04-16  13  	int token;
ef4533f8 David Howells     2007-05-03  14  	const char *pattern;
^1da177e Linus Torvalds    2005-04-16  15  };
^1da177e Linus Torvalds    2005-04-16  16  
1a3f7d98 Linus Torvalds    2008-08-04 @17  typedef struct match_token match_table_t[];
^1da177e Linus Torvalds    2005-04-16  18  
^1da177e Linus Torvalds    2005-04-16  19  /* Maximum number of arguments that match_token will find in a pattern */
^1da177e Linus Torvalds    2005-04-16 @20  enum {MAX_OPT_ARGS = 3};
^1da177e Linus Torvalds    2005-04-16  21  
^1da177e Linus Torvalds    2005-04-16  22  /* Describe the location within a string of a substring */
^1da177e Linus Torvalds    2005-04-16  23  typedef struct {
^1da177e Linus Torvalds    2005-04-16  24  	char *from;
^1da177e Linus Torvalds    2005-04-16  25  	char *to;
^1da177e Linus Torvalds    2005-04-16 @26  } substring_t;
^1da177e Linus Torvalds    2005-04-16  27  
a447c093 Steven Whitehouse 2008-10-13 @28  int match_token(char *, const match_table_t table, substring_t args[]);
^1da177e Linus Torvalds    2005-04-16 @29  int match_int(substring_t *, int *result);
^1da177e Linus Torvalds    2005-04-16 @30  int match_octal(substring_t *, int *result);
^1da177e Linus Torvalds    2005-04-16 @31  int match_hex(substring_t *, int *result);
aace0509 Du, Changbin      2014-01-23  32  bool match_wildcard(const char *pattern, const char *str);
b32a09db Markus Armbruster 2008-02-26 @33  size_t match_strlcpy(char *, const substring_t *, size_t);
ef4533f8 David Howells     2007-05-03 @34  char *match_strdup(const substring_t *);

:::::: The code at line 12 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 53435 bytes --]

  reply	other threads:[~2016-01-31  1:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-30 22:28 [PATCHv4 0/3] rdmacg: IB/core: rdma controller support Parav Pandit
2016-01-30 22:28 ` [PATCHv4 1/3] rdmacg: Added rdma cgroup controller Parav Pandit
2016-01-31  0:19   ` kbuild test robot
2016-01-31  0:37   ` kbuild test robot
2016-01-31  0:37   ` [PATCH] rdmacg: fix semicolon.cocci warnings kbuild test robot
2016-01-31  1:30   ` [PATCHv4 1/3] rdmacg: Added rdma cgroup controller kbuild test robot
2016-01-30 22:28 ` [PATCHv4 2/3] IB/core: added support to use " Parav Pandit
2016-01-31  1:17   ` kbuild test robot [this message]
2016-01-30 22:28 ` [PATCHv4 3/3] rdmacg: Added documentation for rdma controller Parav Pandit

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=201601310900.q7yqBBOS%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=cgroups@vger.kernel.org \
    --cc=corbet@lwn.net \
    --cc=dledford@redhat.com \
    --cc=haggaie@mellanox.com \
    --cc=hannes@cmpxchg.org \
    --cc=james.l.morris@oracle.com \
    --cc=jgunthorpe@obsidianresearch.com \
    --cc=kbuild-all@01.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=liranl@mellanox.com \
    --cc=lizefan@huawei.com \
    --cc=matanb@mellanox.com \
    --cc=ogerlitz@mellanox.com \
    --cc=pandit.parav@gmail.com \
    --cc=raindel@mellanox.com \
    --cc=sean.hefty@intel.com \
    --cc=serge@hallyn.com \
    --cc=tj@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox