lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201905242136.tRukzpo8%lkp@intel.com>
Date:   Fri, 24 May 2019 21:27:29 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
Cc:     kbuild-all@...org, Nicolas Ferre <nicolas.ferre@...rochip.com>,
        Alexandre Belloni <alexandre.belloni@...tlin.com>,
        linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
        Ludovic Desroches <ludovic.desroches@...rochip.com>,
        linux-fbdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2] video: fbdev: atmel_lcdfb: add COMPILE_TEST support

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@...el.com>

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@....atmel.com>
:::::: CC: Linus Torvalds <torvalds@...dy.linux-foundation.org>

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

Download attachment ".config.gz" of type "application/gzip" (69513 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ