Hi Uwe,

kernel test robot noticed the following build errors:

[auto build test ERROR 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-allmodconfig 
(https://download.01.org/0day-ci/archive/20260204/[email protected]/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 
3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
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 errors (new ones prefixed by >>):

>> drivers/video/fbdev/au1100fb.c:354:32: error: expression is not assignable
     354 |         pgprot_val(vma->vm_page_prot) |= (6 << 9); //CCA=6
         |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
   drivers/video/fbdev/au1100fb.c:473:6: warning: format specifies type 'int' 
but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
     472 |                 print_err("fail to allocate framebuffer (size: 
%dK))",
         |                                                                ~~
         |                                                                %zu
     473 |                           fbdev->fb_len / 1024);
         |                           ^~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/au1100fb.h:33:74: note: expanded from macro 'print_err'
      33 | #define print_err(f, arg...) printk(KERN_ERR DRIVER_NAME ": " f 
"\n", ## arg)
         |                                                               ~      
    ^~~
   include/linux/printk.h:512:60: note: expanded from macro 'printk'
     512 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, 
##__VA_ARGS__)
         |                                                     ~~~    
^~~~~~~~~~~
   include/linux/printk.h:484:19: note: expanded from macro 'printk_index_wrap'
     484 |                 _p_func(_fmt, ##__VA_ARGS__);                        
   \
         |                         ~~~~    ^~~~~~~~~~~
   1 warning and 1 error generated.


vim +354 drivers/video/fbdev/au1100fb.c

3b495f2bb749b82 drivers/video/au1100fb.c       Pete Popov        2005-04-04  
343  
3b495f2bb749b82 drivers/video/au1100fb.c       Pete Popov        2005-04-04  
344  /* fb_mmap
3b495f2bb749b82 drivers/video/au1100fb.c       Pete Popov        2005-04-04  
345   * Map video memory in user space. We don't use the generic fb_mmap method 
mainly
3b495f2bb749b82 drivers/video/au1100fb.c       Pete Popov        2005-04-04  
346   * to allow the use of the TLB streaming flag (CCA=6)
3b495f2bb749b82 drivers/video/au1100fb.c       Pete Popov        2005-04-04  
347   */
0238b447706a72c drivers/video/fbdev/au1100fb.c Uwe Kleine-König  2026-02-04  
348  static int au1100fb_fb_mmap(struct fb_info *fbi, struct vm_area_struct 
*vma)
3b495f2bb749b82 drivers/video/au1100fb.c       Pete Popov        2005-04-04  
349  {
67f30ad19c4b329 drivers/video/fbdev/au1100fb.c Christoph Hellwig 2019-04-28  
350        struct au1100fb_device *fbdev = to_au1100fb_device(fbi);
c05b7f3d12b9455 drivers/video/au1100fb.c       Rodolfo Giometti  2006-05-30  
351  
76f92201b821dd2 drivers/video/fbdev/au1100fb.c Thomas Zimmermann 2023-11-27  
352        vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
76f92201b821dd2 drivers/video/fbdev/au1100fb.c Thomas Zimmermann 2023-11-27  
353  
^1da177e4c3f415 drivers/video/au1100fb.c       Linus Torvalds    2005-04-16 
@354        pgprot_val(vma->vm_page_prot) |= (6 << 9); //CCA=6
^1da177e4c3f415 drivers/video/au1100fb.c       Linus Torvalds    2005-04-16  
355  
67f30ad19c4b329 drivers/video/fbdev/au1100fb.c Christoph Hellwig 2019-04-28  
356        return dma_mmap_coherent(fbdev->dev, vma, fbdev->fb_mem, 
fbdev->fb_phys,
67f30ad19c4b329 drivers/video/fbdev/au1100fb.c Christoph Hellwig 2019-04-28  
357                        fbdev->fb_len);
^1da177e4c3f415 drivers/video/au1100fb.c       Linus Torvalds    2005-04-16  
358  }
^1da177e4c3f415 drivers/video/au1100fb.c       Linus Torvalds    2005-04-16  
359  

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

Reply via email to