All of lore.kernel.org
 help / color / mirror / Atom feed
* [xlnx:xlnx_rebase_v5.4 478/1762] drivers/media/platform/xilinx/xilinx-csi2rxss.c:326:27: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '200000000000' to '2431504384'
@ 2021-06-15 21:01 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-15 21:01 UTC (permalink / raw)
  To: Vishal Sagar; +Cc: kbuild-all, linux-arm-kernel, Michal Simek, Hyun Kwon

[-- Attachment #1: Type: text/plain, Size: 2266 bytes --]

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   d128303e4c53bcf7775c46771bf64c71596f3303
commit: 8caa8fb47aa0429f2a25100cf4f957463ba00801 [478/1762] v4l: xilinx: xcsi2rxss: Add support for clock framework
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/Xilinx/linux-xlnx/commit/8caa8fb47aa0429f2a25100cf4f957463ba00801
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 8caa8fb47aa0429f2a25100cf4f957463ba00801
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/media/platform/xilinx/xilinx-csi2rxss.c: In function 'xcsi2rxss_probe':
>> drivers/media/platform/xilinx/xilinx-csi2rxss.c:326:27: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '200000000000' to '2431504384' [-Woverflow]
     326 | #define XCSI_DPHY_CLK_REQ 200000000000UL
         |                           ^~~~~~~~~~~~~~
   drivers/media/platform/xilinx/xilinx-csi2rxss.c:1819:8: note: in expansion of macro 'XCSI_DPHY_CLK_REQ'
    1819 |        XCSI_DPHY_CLK_REQ);
         |        ^~~~~~~~~~~~~~~~~
   drivers/media/platform/xilinx/xilinx-csi2rxss.c:1828:12: warning: comparison is always true due to limited range of data type [-Wtype-limits]
    1828 |   if (rate < XCSI_DPHY_CLK_MIN && rate > XCSI_DPHY_CLK_MAX) {
         |            ^
   drivers/media/platform/xilinx/xilinx-csi2rxss.c:1828:40: warning: comparison is always false due to limited range of data type [-Wtype-limits]
    1828 |   if (rate < XCSI_DPHY_CLK_MIN && rate > XCSI_DPHY_CLK_MAX) {
         |                                        ^


vim +326 drivers/media/platform/xilinx/xilinx-csi2rxss.c

   323	
   324	#define XCSI_DPHY_CLK_MIN	197000000000UL
   325	#define XCSI_DPHY_CLK_MAX	203000000000UL
 > 326	#define XCSI_DPHY_CLK_REQ	200000000000UL
   327	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 60543 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [xlnx:xlnx_rebase_v5.4 478/1762] drivers/media/platform/xilinx/xilinx-csi2rxss.c:326:27: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '200000000000' to '2431504384'
@ 2021-06-15 21:01 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-15 21:01 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2312 bytes --]

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   d128303e4c53bcf7775c46771bf64c71596f3303
commit: 8caa8fb47aa0429f2a25100cf4f957463ba00801 [478/1762] v4l: xilinx: xcsi2rxss: Add support for clock framework
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/Xilinx/linux-xlnx/commit/8caa8fb47aa0429f2a25100cf4f957463ba00801
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 8caa8fb47aa0429f2a25100cf4f957463ba00801
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/media/platform/xilinx/xilinx-csi2rxss.c: In function 'xcsi2rxss_probe':
>> drivers/media/platform/xilinx/xilinx-csi2rxss.c:326:27: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '200000000000' to '2431504384' [-Woverflow]
     326 | #define XCSI_DPHY_CLK_REQ 200000000000UL
         |                           ^~~~~~~~~~~~~~
   drivers/media/platform/xilinx/xilinx-csi2rxss.c:1819:8: note: in expansion of macro 'XCSI_DPHY_CLK_REQ'
    1819 |        XCSI_DPHY_CLK_REQ);
         |        ^~~~~~~~~~~~~~~~~
   drivers/media/platform/xilinx/xilinx-csi2rxss.c:1828:12: warning: comparison is always true due to limited range of data type [-Wtype-limits]
    1828 |   if (rate < XCSI_DPHY_CLK_MIN && rate > XCSI_DPHY_CLK_MAX) {
         |            ^
   drivers/media/platform/xilinx/xilinx-csi2rxss.c:1828:40: warning: comparison is always false due to limited range of data type [-Wtype-limits]
    1828 |   if (rate < XCSI_DPHY_CLK_MIN && rate > XCSI_DPHY_CLK_MAX) {
         |                                        ^


vim +326 drivers/media/platform/xilinx/xilinx-csi2rxss.c

   323	
   324	#define XCSI_DPHY_CLK_MIN	197000000000UL
   325	#define XCSI_DPHY_CLK_MAX	203000000000UL
 > 326	#define XCSI_DPHY_CLK_REQ	200000000000UL
   327	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 60543 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-15 22:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-15 21:01 [xlnx:xlnx_rebase_v5.4 478/1762] drivers/media/platform/xilinx/xilinx-csi2rxss.c:326:27: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '200000000000' to '2431504384' kernel test robot
2021-06-15 21:01 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.