All of lore.kernel.org
 help / color / mirror / Atom feed
* [superna9999:amlogic/v5.7/amlogic-fbc 3/8] drivers/gpu/drm/meson/meson_overlay.c:148:37: note: in expansion of macro 'FIELD_PREP'
@ 2020-03-25 17:08 kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-03-25 17:08 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/superna9999/linux amlogic/v5.7/amlogic-fbc
head:   d9457c8d045c0717dcd7f6e8bd69bf7fb9f9fcc4
commit: 5a117a592752617101ebb889040899b87f0245ba [3/8] drm/meson: overlay: setup overlay for Amlogic FBC
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 5a117a592752617101ebb889040899b87f0245ba
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=arm 

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

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/build_bug.h:5,
                    from include/linux/bitfield.h:10,
                    from drivers/gpu/drm/meson/meson_overlay.c:9:
   drivers/gpu/drm/meson/meson_overlay.c: In function 'meson_overlay_setup_scaler_params':
>> include/linux/compiler.h:350:38: error: call to '__compiletime_assert_414' declared with attribute error: BUILD_BUG_ON failed: ((((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (28))))) + (1ULL << (__builtin_ffsll((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (28))))) - 1))) & ((((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (28))))) + (1ULL << (__builtin_ffsll((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (28))))) - 1))) - 1)) != 0
     350 |  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
         |                                      ^
   include/linux/compiler.h:331:4: note: in definition of macro '__compiletime_assert'
     331 |    prefix ## suffix();    \
         |    ^~~~~~
   include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert'
     350 |  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
      39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
         |                                     ^~~~~~~~~~~~~~~~~~
   include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG'
      49 |   BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ?  \
         |   ^~~~~~~~~~~~~~~~
   include/linux/bitfield.h:81:3: note: in expansion of macro '__BF_FIELD_CHECK'
      81 |   __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \
         |   ^~~~~~~~~~~~~~~~
>> drivers/gpu/drm/meson/meson_overlay.c:148:37: note: in expansion of macro 'FIELD_PREP'
     148 | #define AFBC_DEC_PIXEL_BGN_H(value) FIELD_PREP(GENMASK(28, 16), value)
         |                                     ^~~~~~~~~~
>> drivers/gpu/drm/meson/meson_overlay.c:414:4: note: in expansion of macro 'AFBC_DEC_PIXEL_BGN_H'
     414 |    AFBC_DEC_PIXEL_BGN_H(hd_start_lines - afbc_left) |
         |    ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:350:38: error: call to '__compiletime_assert_435' declared with attribute error: BUILD_BUG_ON failed: ((((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (27))))) + (1ULL << (__builtin_ffsll((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (27))))) - 1))) & ((((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (27))))) + (1ULL << (__builtin_ffsll((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (27))))) - 1))) - 1)) != 0
     350 |  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
         |                                      ^
   include/linux/compiler.h:331:4: note: in definition of macro '__compiletime_assert'
     331 |    prefix ## suffix();    \
         |    ^~~~~~
   include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert'
     350 |  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
      39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
         |                                     ^~~~~~~~~~~~~~~~~~
   include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG'
      49 |   BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ?  \
         |   ^~~~~~~~~~~~~~~~
   include/linux/bitfield.h:81:3: note: in expansion of macro '__BF_FIELD_CHECK'
      81 |   __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \
         |   ^~~~~~~~~~~~~~~~
   drivers/gpu/drm/meson/meson_overlay.c:62:28: note: in expansion of macro 'FIELD_PREP'
      62 | #define VD_H_START(value)  FIELD_PREP(GENMASK(27, 16), value)
         |                            ^~~~~~~~~~
>> drivers/gpu/drm/meson/meson_overlay.c:435:40: note: in expansion of macro 'VD_H_START'
     435 |  priv->viu.vpp_blend_vd2_h_start_end = VD_H_START(hd_start_lines) |
         |                                        ^~~~~~~~~~

vim +/FIELD_PREP +148 drivers/gpu/drm/meson/meson_overlay.c

   146	
   147	/* AFBC_PIXEL_HOR_SCOPE */
 > 148	#define AFBC_DEC_PIXEL_BGN_H(value)	FIELD_PREP(GENMASK(28, 16), value)
   149	#define AFBC_DEC_PIXEL_END_H(value)	FIELD_PREP(GENMASK(12, 0), value)
   150	

---
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: 73081 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [superna9999:amlogic/v5.7/amlogic-fbc 3/8] drivers/gpu/drm/meson/meson_overlay.c:148:37: note: in expansion of macro 'FIELD_PREP'
@ 2020-04-16 20:12 kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-04-16 20:12 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/superna9999/linux amlogic/v5.7/amlogic-fbc
head:   fcd5dd60c51e37f87dd2d8c8d587b6cab26cde2f
commit: f4f0ebb685e481bb170dc82f02e3275a33c486ea [3/8] drm/meson: overlay: setup overlay for Amlogic FBC
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f4f0ebb685e481bb170dc82f02e3275a33c486ea
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arm 

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

All warnings (new ones prefixed by >>):

   In file included from include/linux/build_bug.h:5,
                    from include/linux/bitfield.h:10,
                    from drivers/gpu/drm/meson/meson_overlay.c:9:
   drivers/gpu/drm/meson/meson_overlay.c: In function 'meson_overlay_setup_scaler_params':
   include/linux/compiler.h:350:38: error: call to '__compiletime_assert_414' declared with attribute error: BUILD_BUG_ON failed: ((((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (28))))) + (1ULL << (__builtin_ffsll((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (28))))) - 1))) & ((((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (28))))) + (1ULL << (__builtin_ffsll((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (28))))) - 1))) - 1)) != 0
     350 |  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
         |                                      ^
   include/linux/compiler.h:331:4: note: in definition of macro '__compiletime_assert'
     331 |    prefix ## suffix();    \
         |    ^~~~~~
   include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert'
     350 |  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
      39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
         |                                     ^~~~~~~~~~~~~~~~~~
   include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG'
      49 |   BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ?  \
         |   ^~~~~~~~~~~~~~~~
   include/linux/bitfield.h:81:3: note: in expansion of macro '__BF_FIELD_CHECK'
      81 |   __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \
         |   ^~~~~~~~~~~~~~~~
>> drivers/gpu/drm/meson/meson_overlay.c:148:37: note: in expansion of macro 'FIELD_PREP'
     148 | #define AFBC_DEC_PIXEL_BGN_H(value) FIELD_PREP(GENMASK(28, 16), value)
         |                                     ^~~~~~~~~~
>> drivers/gpu/drm/meson/meson_overlay.c:414:4: note: in expansion of macro 'AFBC_DEC_PIXEL_BGN_H'
     414 |    AFBC_DEC_PIXEL_BGN_H(hd_start_lines - afbc_left) |
         |    ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:350:38: error: call to '__compiletime_assert_435' declared with attribute error: BUILD_BUG_ON failed: ((((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (27))))) + (1ULL << (__builtin_ffsll((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (27))))) - 1))) & ((((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (27))))) + (1ULL << (__builtin_ffsll((((~(((0UL)))) - ((((1UL))) << (16)) + 1) & (~(((0UL))) >> (32 - 1 - (27))))) - 1))) - 1)) != 0
     350 |  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
         |                                      ^
   include/linux/compiler.h:331:4: note: in definition of macro '__compiletime_assert'
     331 |    prefix ## suffix();    \
         |    ^~~~~~
   include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert'
     350 |  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
      39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
         |                                     ^~~~~~~~~~~~~~~~~~
   include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG'
      49 |   BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ?  \
         |   ^~~~~~~~~~~~~~~~
   include/linux/bitfield.h:81:3: note: in expansion of macro '__BF_FIELD_CHECK'
      81 |   __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \
         |   ^~~~~~~~~~~~~~~~
   drivers/gpu/drm/meson/meson_overlay.c:62:28: note: in expansion of macro 'FIELD_PREP'
      62 | #define VD_H_START(value)  FIELD_PREP(GENMASK(27, 16), value)
         |                            ^~~~~~~~~~
>> drivers/gpu/drm/meson/meson_overlay.c:435:40: note: in expansion of macro 'VD_H_START'
     435 |  priv->viu.vpp_blend_vd2_h_start_end = VD_H_START(hd_start_lines) |
         |                                        ^~~~~~~~~~

vim +/FIELD_PREP +148 drivers/gpu/drm/meson/meson_overlay.c

   146	
   147	/* AFBC_PIXEL_HOR_SCOPE */
 > 148	#define AFBC_DEC_PIXEL_BGN_H(value)	FIELD_PREP(GENMASK(28, 16), value)
   149	#define AFBC_DEC_PIXEL_END_H(value)	FIELD_PREP(GENMASK(12, 0), value)
   150	

---
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: 73117 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-16 20:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-25 17:08 [superna9999:amlogic/v5.7/amlogic-fbc 3/8] drivers/gpu/drm/meson/meson_overlay.c:148:37: note: in expansion of macro 'FIELD_PREP' kbuild test robot
2020-04-16 20:12 kbuild test robot

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.