Re: [PATCH 1/1] mm: Rework slab bitmasks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Igor,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.11]
[cannot apply to next-20170508]
[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/Igor-Stoppa/mm-Rework-slab-bitmasks/20170508-214149
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/exynos/exynos5433_drm_decon.c:331:0: warning: "BIT_VAL" redefined
    #define BIT_VAL(x, e, s) (((x) & ((1 << ((e) - (s) + 1)) - 1)) << (s))
    
   In file included from include/drm/drmP.h:54:0,
                    from drivers/gpu/drm/exynos/exynos_drm_drv.h:18,
                    from drivers/gpu/drm/exynos/exynos5433_drm_decon.c:24:
   include/linux/slab.h:19:0: note: this is the location of the previous definition
    #define BIT_VAL(val, shift) __BIT_VAL(val, shift)
    

vim +/BIT_VAL +331 drivers/gpu/drm/exynos/exynos5433_drm_decon.c

b2192073 Andrzej Hajda    2015-10-20  315  	decon_set_bits(ctx, DECON_SHADOWCON, SHADOWCON_Wx_PROTECT(win),
b2192073 Andrzej Hajda    2015-10-20  316  		       protect ? ~0 : 0);
c8466a91 Joonyoung Shim   2015-06-12  317  }
c8466a91 Joonyoung Shim   2015-06-12  318  
d29c2c14 Marek Szyprowski 2016-01-05  319  static void decon_atomic_begin(struct exynos_drm_crtc *crtc)
cc5a7b35 Hyungwon Hwang   2015-08-27  320  {
cc5a7b35 Hyungwon Hwang   2015-08-27  321  	struct decon_context *ctx = crtc->ctx;
d29c2c14 Marek Szyprowski 2016-01-05  322  	int i;
cc5a7b35 Hyungwon Hwang   2015-08-27  323  
7b6bb6ed Andrzej Hajda    2015-10-20  324  	if (test_bit(BIT_SUSPENDED, &ctx->flags))
cc5a7b35 Hyungwon Hwang   2015-08-27  325  		return;
cc5a7b35 Hyungwon Hwang   2015-08-27  326  
d29c2c14 Marek Szyprowski 2016-01-05  327  	for (i = ctx->first_win; i < WINDOWS_NR; i++)
d29c2c14 Marek Szyprowski 2016-01-05  328  		decon_shadow_protect_win(ctx, i, true);
cc5a7b35 Hyungwon Hwang   2015-08-27  329  }
cc5a7b35 Hyungwon Hwang   2015-08-27  330  
b8182832 Andrzej Hajda    2015-10-20 @331  #define BIT_VAL(x, e, s) (((x) & ((1 << ((e) - (s) + 1)) - 1)) << (s))
b8182832 Andrzej Hajda    2015-10-20  332  #define COORDINATE_X(x) BIT_VAL((x), 23, 12)
b8182832 Andrzej Hajda    2015-10-20  333  #define COORDINATE_Y(x) BIT_VAL((x), 11, 0)
b8182832 Andrzej Hajda    2015-10-20  334  
1e1d1393 Gustavo Padovan  2015-08-03  335  static void decon_update_plane(struct exynos_drm_crtc *crtc,
1e1d1393 Gustavo Padovan  2015-08-03  336  			       struct exynos_drm_plane *plane)
c8466a91 Joonyoung Shim   2015-06-12  337  {
0114f404 Marek Szyprowski 2015-11-30  338  	struct exynos_drm_plane_state *state =
0114f404 Marek Szyprowski 2015-11-30  339  				to_exynos_plane_state(plane->base.state);

:::::: The code at line 331 was first introduced by commit
:::::: b8182832c5a9d9ce645d53be84e5db07f8aa5302 drm/exynos/decon5433: add support for DECON-TV

:::::: TO: Andrzej Hajda <a.hajda@xxxxxxxxxxx>
:::::: CC: Inki Dae <inki.dae@xxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux