linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Matthew Wilcox <willy@infradead.org>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	Matthew Wilcox <mawilcox@microsoft.com>,
	linux-mm@kvack.org, linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH 2/2] XArray: Convert IDR and add test suite
Date: Thu, 2 Mar 2017 22:34:57 +0800	[thread overview]
Message-ID: <201703022203.106yZXnX%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170228181343.16588-3-willy@infradead.org>

Hi Matthew,

[auto build test WARNING on linus/master]
[also build test WARNING on next-20170302]
[cannot apply to v4.10]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Matthew-Wilcox/Add-XArray/20170302-092723
reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   include/linux/compiler.h:264:8: sparse: attribute 'no_sanitize_address': unknown attribute
   drivers/gpu/drm/drm_mode_config.c:369:9: sparse: Expected ; at end of statement
   drivers/gpu/drm/drm_mode_config.c:369:9: sparse: got {
   drivers/gpu/drm/drm_mode_config.c:370:9: sparse: Expected ; at end of statement
   drivers/gpu/drm/drm_mode_config.c:370:9: sparse: got {
>> drivers/gpu/drm/drm_mode_config.c:384:1: sparse: expected 'while' after 'do'
   drivers/gpu/drm/drm_mode_config.c:384:1: sparse: Expected ( after 'do-while'
   drivers/gpu/drm/drm_mode_config.c:384:1: sparse: got extern
   builtin:0:0: sparse: Expected } at end of compound statement
   builtin:0:0: sparse: got end-of-input
   builtin:0:0: sparse: expected 'while' after 'do'
   builtin:0:0: sparse: Expected } at end of function
   builtin:0:0: sparse: got end-of-input
   drivers/gpu/drm/drm_mode_config.c:371:9: sparse: undefined identifier 'ida_init'
   In file included from include/linux/kernfs.h:14:0,
                    from include/linux/sysfs.h:15,
                    from include/linux/kobject.h:21,
                    from include/linux/device.h:17,
                    from include/linux/i2c.h:30,
                    from include/drm/drm_crtc.h:28,
                    from include/drm/drm_encoder.h:28,
                    from drivers/gpu/drm/drm_mode_config.c:23:
   drivers/gpu/drm/drm_mode_config.c: In function 'drm_mode_config_init':
   include/linux/idr.h:25:1: error: expected expression before '{' token
    {       \
    ^
   include/linux/idr.h:30:11: note: in expansion of macro 'IDR_INIT'
     *(idr) = IDR_INIT(#idr)    \
              ^~~~~~~~
   drivers/gpu/drm/drm_mode_config.c:369:2: note: in expansion of macro 'idr_init'
     idr_init(&dev->mode_config.crtc_idr);
     ^~~~~~~~
   include/linux/idr.h:25:1: error: expected expression before '{' token
    {       \
    ^
   include/linux/idr.h:30:11: note: in expansion of macro 'IDR_INIT'
     *(idr) = IDR_INIT(#idr)    \
              ^~~~~~~~
   drivers/gpu/drm/drm_mode_config.c:370:2: note: in expansion of macro 'idr_init'
     idr_init(&dev->mode_config.tile_idr);
     ^~~~~~~~
   drivers/gpu/drm/drm_mode_config.c:371:2: error: implicit declaration of function 'ida_init' [-Werror=implicit-function-declaration]
     ida_init(&dev->mode_config.connector_ida);
     ^~~~~~~~
   cc1: some warnings being treated as errors
--
   include/linux/compiler.h:264:8: sparse: attribute 'no_sanitize_address': unknown attribute
   drivers/net/wireless/ath/ath10k/htt_tx.c:407:9: sparse: Expected ; at end of statement
   drivers/net/wireless/ath/ath10k/htt_tx.c:407:9: sparse: got {
>> drivers/net/wireless/ath/ath10k/htt_tx.c:426:1: sparse: expected 'while' after 'do'
   drivers/net/wireless/ath/ath10k/htt_tx.c:426:1: sparse: Expected ( after 'do-while'
   drivers/net/wireless/ath/ath10k/htt_tx.c:426:1: sparse: got static
   drivers/net/wireless/ath/ath10k/htt_tx.c:432:71: sparse: undefined identifier 'msdu_id'
   drivers/net/wireless/ath/ath10k/htt_tx.c:434:27: sparse: undefined identifier 'msdu_id'
   drivers/net/wireless/ath/ath10k/htt_tx.c:456:40: sparse: undefined identifier 'ath10k_htt_tx_clean_up_pending'
   In file included from include/linux/cgroup-defs.h:12:0,
                    from include/linux/sched.h:60,
                    from include/linux/kasan.h:4,
                    from include/linux/slab.h:118,
                    from include/linux/textsearch.h:8,
                    from include/linux/skbuff.h:30,
                    from include/linux/if_ether.h:23,
                    from include/linux/etherdevice.h:25,
                    from drivers/net/wireless/ath/ath10k/htt_tx.c:18:
   drivers/net/wireless/ath/ath10k/htt_tx.c: In function 'ath10k_htt_tx_start':
   include/linux/idr.h:25:1: error: expected expression before '{' token
    {       \
    ^
   include/linux/idr.h:30:11: note: in expansion of macro 'IDR_INIT'
     *(idr) = IDR_INIT(#idr)    \
              ^~~~~~~~
   drivers/net/wireless/ath/ath10k/htt_tx.c:407:2: note: in expansion of macro 'idr_init'
     idr_init(&htt->pending_tx);
     ^~~~~~~~
--
   include/linux/compiler.h:264:8: sparse: attribute 'no_sanitize_address': unknown attribute
   drivers/net/wireless/marvell/mwifiex/init.c:495:17: sparse: Expected ; at end of statement
   drivers/net/wireless/marvell/mwifiex/init.c:495:17: sparse: got {
>> drivers/net/wireless/marvell/mwifiex/init.c:498:9: sparse: expected 'while' after 'do'
   drivers/net/wireless/marvell/mwifiex/init.c:498:9: sparse: Expected ( after 'do-while'
   drivers/net/wireless/marvell/mwifiex/init.c:498:9: sparse: got return
   builtin:0:0: sparse: Expected } at end of function
   builtin:0:0: sparse: got end-of-input
   In file included from include/linux/cgroup-defs.h:12:0,
                    from include/linux/sched.h:60,
                    from include/linux/kasan.h:4,
                    from include/linux/slab.h:118,
                    from include/linux/textsearch.h:8,
                    from include/linux/skbuff.h:30,
                    from include/linux/if_ether.h:23,
                    from include/linux/ieee80211.h:21,
                    from drivers/net/wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net/wireless/marvell/mwifiex/init.c:20:
   drivers/net/wireless/marvell/mwifiex/init.c: In function 'mwifiex_init_lock_list':
   include/linux/idr.h:25:1: error: expected expression before '{' token
    {       \
    ^
   include/linux/idr.h:30:11: note: in expansion of macro 'IDR_INIT'
     *(idr) = IDR_INIT(#idr)    \
              ^~~~~~~~
   drivers/net/wireless/marvell/mwifiex/init.c:495:3: note: in expansion of macro 'idr_init'
      idr_init(&priv->ack_status_frames);
      ^~~~~~~~
--
   include/linux/compiler.h:264:8: sparse: attribute 'no_sanitize_address': unknown attribute
   drivers/staging/unisys/visorhba/visorhba_main.c:1111:9: sparse: Expected ; at end of statement
   drivers/staging/unisys/visorhba/visorhba_main.c:1111:9: sparse: got {
>> drivers/staging/unisys/visorhba/visorhba_main.c:1142:1: sparse: expected 'while' after 'do'
   drivers/staging/unisys/visorhba/visorhba_main.c:1142:1: sparse: Expected ( after 'do-while'
   drivers/staging/unisys/visorhba/visorhba_main.c:1142:1: sparse: got static
   drivers/staging/unisys/visorhba/visorhba_main.c:1148:17: sparse: return with no return value
   drivers/staging/unisys/visorhba/visorhba_main.c:1171:19: sparse: undefined identifier 'visorhba_remove'
   In file included from include/linux/cgroup-defs.h:12:0,
                    from include/linux/sched.h:60,
                    from include/linux/kasan.h:4,
                    from include/linux/slab.h:118,
                    from include/linux/textsearch.h:8,
                    from include/linux/skbuff.h:30,
                    from drivers/staging/unisys/visorhba/visorhba_main.c:17:
   drivers/staging/unisys/visorhba/visorhba_main.c: In function 'visorhba_probe':
   include/linux/idr.h:25:1: error: expected expression before '{' token
    {       \
    ^
   include/linux/idr.h:30:11: note: in expansion of macro 'IDR_INIT'
     *(idr) = IDR_INIT(#idr)    \
              ^~~~~~~~
   drivers/staging/unisys/visorhba/visorhba_main.c:1111:2: note: in expansion of macro 'idr_init'
     idr_init(&devdata->idr);
     ^~~~~~~~

vim +384 drivers/gpu/drm/drm_mode_config.c

28575f16 Daniel Vetter 2016-11-14  363  	INIT_LIST_HEAD(&dev->mode_config.crtc_list);
28575f16 Daniel Vetter 2016-11-14  364  	INIT_LIST_HEAD(&dev->mode_config.connector_list);
28575f16 Daniel Vetter 2016-11-14  365  	INIT_LIST_HEAD(&dev->mode_config.encoder_list);
28575f16 Daniel Vetter 2016-11-14  366  	INIT_LIST_HEAD(&dev->mode_config.property_list);
28575f16 Daniel Vetter 2016-11-14  367  	INIT_LIST_HEAD(&dev->mode_config.property_blob_list);
28575f16 Daniel Vetter 2016-11-14  368  	INIT_LIST_HEAD(&dev->mode_config.plane_list);
28575f16 Daniel Vetter 2016-11-14 @369  	idr_init(&dev->mode_config.crtc_idr);
28575f16 Daniel Vetter 2016-11-14  370  	idr_init(&dev->mode_config.tile_idr);
28575f16 Daniel Vetter 2016-11-14  371  	ida_init(&dev->mode_config.connector_ida);
613051da Daniel Vetter 2016-12-14  372  	spin_lock_init(&dev->mode_config.connector_list_lock);
28575f16 Daniel Vetter 2016-11-14  373  
28575f16 Daniel Vetter 2016-11-14  374  	drm_mode_create_standard_properties(dev);
28575f16 Daniel Vetter 2016-11-14  375  
28575f16 Daniel Vetter 2016-11-14  376  	/* Just to be sure */
28575f16 Daniel Vetter 2016-11-14  377  	dev->mode_config.num_fb = 0;
28575f16 Daniel Vetter 2016-11-14  378  	dev->mode_config.num_connector = 0;
28575f16 Daniel Vetter 2016-11-14  379  	dev->mode_config.num_crtc = 0;
28575f16 Daniel Vetter 2016-11-14  380  	dev->mode_config.num_encoder = 0;
28575f16 Daniel Vetter 2016-11-14  381  	dev->mode_config.num_overlay_plane = 0;
28575f16 Daniel Vetter 2016-11-14  382  	dev->mode_config.num_total_plane = 0;
28575f16 Daniel Vetter 2016-11-14  383  }
28575f16 Daniel Vetter 2016-11-14 @384  EXPORT_SYMBOL(drm_mode_config_init);
28575f16 Daniel Vetter 2016-11-14  385  
28575f16 Daniel Vetter 2016-11-14  386  /**
28575f16 Daniel Vetter 2016-11-14  387   * drm_mode_config_cleanup - free up DRM mode_config info

:::::: The code at line 384 was first introduced by commit
:::::: 28575f165d36051310d7ea2350e2011f8095b6fb drm: Extract drm_mode_config.[hc]

:::::: TO: Daniel Vetter <daniel.vetter@ffwll.ch>
:::::: CC: Daniel Vetter <daniel.vetter@ffwll.ch>

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2017-03-02 14:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-28 18:13 [PATCH 0/2] Introducing the eXtensible Array (xarray) Matthew Wilcox
2017-02-28 18:13 ` [PATCH 1/2] Add XArray Matthew Wilcox
2017-02-28 18:13 ` [PATCH 2/2] XArray: Convert IDR and add test suite Matthew Wilcox
2017-03-02 14:34   ` kbuild test robot [this message]

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=201703022203.106yZXnX%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mawilcox@microsoft.com \
    --cc=willy@infradead.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