Re: [PATCH v2] video: fbdev: atmel_lcdfb: add COMPILE_TEST support

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

 



Hi Bartlomiej,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.2-rc1 next-20190524]
[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/Bartlomiej-Zolnierkiewicz/video-fbdev-atmel_lcdfb-add-COMPILE_TEST-support/20190524-184331
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

All warnings (new ones prefixed by >>):

   drivers/video//fbdev/atmel_lcdfb.c: In function 'atmel_lcdfb_set_par':
>> drivers/video//fbdev/atmel_lcdfb.c:71:51: warning: large integer implicitly truncated to unsigned type [-Woverflow]
    #define lcdc_writel(sinfo, reg, val) __raw_writel((val), (sinfo)->mmio+(reg))
                                                      ^
>> drivers/video//fbdev/atmel_lcdfb.c:676:2: note: in expansion of macro 'lcdc_writel'
     lcdc_writel(sinfo, ATMEL_LCDC_IDR, ~0UL);
     ^~~~~~~~~~~
   drivers/video//fbdev/atmel_lcdfb.c: In function 'atmel_lcdfb_suspend':
>> drivers/video//fbdev/atmel_lcdfb.c:71:51: warning: large integer implicitly truncated to unsigned type [-Woverflow]
    #define lcdc_writel(sinfo, reg, val) __raw_writel((val), (sinfo)->mmio+(reg))
                                                      ^
   drivers/video//fbdev/atmel_lcdfb.c:1294:2: note: in expansion of macro 'lcdc_writel'
     lcdc_writel(sinfo, ATMEL_LCDC_IDR, ~0UL);
     ^~~~~~~~~~~

vim +71 drivers/video//fbdev/atmel_lcdfb.c

b985172b drivers/video/atmel_lcdfb.c Jean-Christophe PLAGNIOL-VILLARD 2013-03-29  69  
14340586 drivers/video/atmel_lcdfb.c Nicolas Ferre                    2007-05-10  70  #define lcdc_readl(sinfo, reg)		__raw_readl((sinfo)->mmio+(reg))
14340586 drivers/video/atmel_lcdfb.c Nicolas Ferre                    2007-05-10 @71  #define lcdc_writel(sinfo, reg, val)	__raw_writel((val), (sinfo)->mmio+(reg))
14340586 drivers/video/atmel_lcdfb.c Nicolas Ferre                    2007-05-10  72  

:::::: The code at line 71 was first introduced by commit
:::::: 14340586148e7c88d7b1b752876f5b5227b200b9 atmel_lcdfb: AT91/AT32 LCD Controller framebuffer driver

:::::: TO: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux