Hi Uwe,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 0636e6205beed850d985276dc56fd73d785bea5c]

url:    
https://github.com/intel-lab-lkp/linux/commits/Uwe-Kleine-K-nig/fbdev-au1100fb-Mark-several-local-functions-as-static/20260204-171704
base:   0636e6205beed850d985276dc56fd73d785bea5c
patch link:    
https://lore.kernel.org/r/474eca0c9ecb8a2e610e82922ad22ad7e8ff0b8b.1770196161.git.u.kleine-koenig%40baylibre.com
patch subject: [PATCH v1 2/3] fbdev: au1100fb: Make driver compilable on 
non-mips platforms
config: s390-allyesconfig 
(https://download.01.org/0day-ci/archive/20260204/[email protected]/config)
compiler: s390-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260204/[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 >>):

   drivers/video/fbdev/au1100fb.c: In function 'au1100fb_fb_mmap':
   drivers/video/fbdev/au1100fb.c:354:39: error: lvalue required as left 
operand of assignment
     354 |         pgprot_val(vma->vm_page_prot) |= (6 << 9); //CCA=6
         |                                       ^~
   In file included from include/asm-generic/bug.h:31,
                    from arch/s390/include/asm/bug.h:60,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from arch/s390/include/asm/cmpxchg.h:11,
                    from arch/s390/include/asm/atomic.h:16,
                    from include/linux/atomic.h:7,
                    from include/asm-generic/bitops/atomic.h:5,
                    from arch/s390/include/asm/bitops.h:75,
                    from include/linux/bitops.h:67,
                    from include/linux/kernel.h:23,
                    from include/linux/clk.h:13,
                    from drivers/video/fbdev/au1100fb.c:44:
   drivers/video/fbdev/au1100fb.c: In function 'au1100fb_drv_probe':
>> include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of 
>> type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} 
>> [-Wformat=]
       5 | #define KERN_SOH        "\001"          /* ASCII Start Of Header */
         |                         ^~~~~~
   include/linux/printk.h:484:25: note: in definition of macro 
'printk_index_wrap'
     484 |                 _p_func(_fmt, ##__VA_ARGS__);                        
   \
         |                         ^~~~
   drivers/video/fbdev/au1100fb.h:33:30: note: in expansion of macro 'printk'
      33 | #define print_err(f, arg...) printk(KERN_ERR DRIVER_NAME ": " f 
"\n", ## arg)
         |                              ^~~~~~
   include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
      11 | #define KERN_ERR        KERN_SOH "3"    /* error conditions */
         |                         ^~~~~~~~
   drivers/video/fbdev/au1100fb.h:33:37: note: in expansion of macro 'KERN_ERR'
      33 | #define print_err(f, arg...) printk(KERN_ERR DRIVER_NAME ": " f 
"\n", ## arg)
         |                                     ^~~~~~~~
   drivers/video/fbdev/au1100fb.c:472:17: note: in expansion of macro 
'print_err'
     472 |                 print_err("fail to allocate framebuffer (size: 
%dK))",
         |                 ^~~~~~~~~


vim +5 include/linux/kern_levels.h

314ba3520e513a Joe Perches 2012-07-30  4  
04d2c8c83d0e3a Joe Perches 2012-07-30 @5  #define KERN_SOH      "\001"          
/* ASCII Start Of Header */
04d2c8c83d0e3a Joe Perches 2012-07-30  6  #define KERN_SOH_ASCII        '\001'
04d2c8c83d0e3a Joe Perches 2012-07-30  7  

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

Reply via email to