Hi Suraj,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-i915/for-linux-next]
[also build test WARNING on drm-tip/drm-tip]
[cannot apply to drm-i915/for-linux-next-fixes linus/master v6.19-rc3 
next-20251219]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/Suraj-Kandpal/drm-i915-cx0-Split-PLL-enabling-disabling-in-two-parts/20251230-163308
base:   https://gitlab.freedesktop.org/drm/i915/kernel.git for-linux-next
patch link:    
https://lore.kernel.org/r/20251230083142.70064-2-suraj.kandpal%40intel.com
patch subject: [PATCH 1/3] drm/i915/cx0: Split PLL enabling/disabling in two 
parts
config: x86_64-rhel-9.4-kunit 
(https://download.01.org/0day-ci/archive/20251230/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20251230/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

   In file included from include/linux/bits.h:5,
                    from include/linux/bitops.h:6,
                    from include/linux/log2.h:12,
                    from drivers/gpu/drm/i915/display/intel_cx0_phy.c:6:
   drivers/gpu/drm/i915/display/intel_cx0_phy.c: In function 
'intel_cx0pll_enable_clock':
>> include/vdso/bits.h:7:33: warning: statement with no effect [-Wunused-value]
       7 | #define BIT(nr)                 (UL(1) << (nr))
         |                                 ^
   drivers/gpu/drm/i915/display/intel_cx0_phy.c:32:33: note: in expansion of 
macro 'BIT'
      32 | #define INTEL_CX0_LANE0         BIT(0)
         |                                 ^~~
   drivers/gpu/drm/i915/display/intel_cx0_phy.c:3388:43: note: in expansion of 
macro 'INTEL_CX0_LANE0'
    3388 |                                           INTEL_CX0_LANE0;
         |                                           ^~~~~~~~~~~~~~~
--
   In file included from include/linux/bits.h:5,
                    from include/linux/bitops.h:6,
                    from include/linux/log2.h:12,
                    from display/intel_cx0_phy.c:6:
   display/intel_cx0_phy.c: In function 'intel_cx0pll_enable_clock':
>> include/vdso/bits.h:7:33: warning: statement with no effect [-Wunused-value]
       7 | #define BIT(nr)                 (UL(1) << (nr))
         |                                 ^
   display/intel_cx0_phy.c:32:33: note: in expansion of macro 'BIT'
      32 | #define INTEL_CX0_LANE0         BIT(0)
         |                                 ^~~
   display/intel_cx0_phy.c:3388:43: note: in expansion of macro 
'INTEL_CX0_LANE0'
    3388 |                                           INTEL_CX0_LANE0;
         |                                           ^~~~~~~~~~~~~~~


vim +7 include/vdso/bits.h

3945ff37d2f48d Vincenzo Frascino 2020-03-20  6  
3945ff37d2f48d Vincenzo Frascino 2020-03-20 @7  #define BIT(nr)                 
(UL(1) << (nr))
cbdb1f163af2bb Andy Shevchenko   2022-11-28  8  #define BIT_ULL(nr)             
(ULL(1) << (nr))
3945ff37d2f48d Vincenzo Frascino 2020-03-20  9  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to