[kbingham-rcar:kbingham/vsp/v3u-5.16 6/50] drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:100:9: warning: this decimal constant is unsigned only in ISO C90

From: kernel test robot
Date: Thu Nov 25 2021 - 02:08:31 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git kbingham/vsp/v3u-5.16
head: ccac14c690227590a29f6d85289101f00de58ec6
commit: d4b0edb743a8a351c882f97b636f11f671e4f029 [6/50] drm: rcar-du: Add R-Car DSI driver
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20211125/202111251504.Ogup5r16-lkp@xxxxxxxxx/config)
compiler: arceb-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git/commit/?id=d4b0edb743a8a351c882f97b636f11f671e4f029
git remote add kbingham-rcar https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git
git fetch --no-tags kbingham-rcar kbingham/vsp/v3u-5.16
git checkout d4b0edb743a8a351c882f97b636f11f671e4f029
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash drivers/gpu/drm/rcar-du/ drivers/net/ethernet/mellanox/mlx5/core/

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

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:100:9: warning: this decimal constant is unsigned only in ISO C90
100 | { 2100000000, 0x41 }, { 2150000000, 0x42 }, { 2200000000, 0x43 },
| ^
>> drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:100:9: warning: this decimal constant is unsigned only in ISO C90
drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:101:9: warning: this decimal constant is unsigned only in ISO C90
101 | { 2250000000, 0x44 }, { 2300000000, 0x45 }, { 2350000000, 0x46 },
| ^
drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:101:9: warning: this decimal constant is unsigned only in ISO C90
drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:101:9: warning: this decimal constant is unsigned only in ISO C90
drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:102:9: warning: this decimal constant is unsigned only in ISO C90
102 | { 2400000000, 0x47 }, { 2450000000, 0x48 }, { 2500000000, 0x49 },
| ^
drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:102:9: warning: this decimal constant is unsigned only in ISO C90
drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:102:9: warning: this decimal constant is unsigned only in ISO C90


vim +100 drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c

80
81 static const u32 hsfreqrange_table[][2] = {
82 { 80000000, 0x00 }, { 90000000, 0x10 }, { 100000000, 0x20 },
83 { 110000000, 0x30 }, { 120000000, 0x01 }, { 130000000, 0x11 },
84 { 140000000, 0x21 }, { 150000000, 0x31 }, { 160000000, 0x02 },
85 { 170000000, 0x12 }, { 180000000, 0x22 }, { 190000000, 0x32 },
86 { 205000000, 0x03 }, { 220000000, 0x13 }, { 235000000, 0x23 },
87 { 250000000, 0x33 }, { 275000000, 0x04 }, { 300000000, 0x14 },
88 { 325000000, 0x25 }, { 350000000, 0x35 }, { 400000000, 0x05 },
89 { 450000000, 0x16 }, { 500000000, 0x26 }, { 550000000, 0x37 },
90 { 600000000, 0x07 }, { 650000000, 0x18 }, { 700000000, 0x28 },
91 { 750000000, 0x39 }, { 800000000, 0x09 }, { 850000000, 0x19 },
92 { 900000000, 0x29 }, { 950000000, 0x3a }, { 1000000000, 0x0a },
93 { 1050000000, 0x1a }, { 1100000000, 0x2a }, { 1150000000, 0x3b },
94 { 1200000000, 0x0b }, { 1250000000, 0x1b }, { 1300000000, 0x2b },
95 { 1350000000, 0x3c }, { 1400000000, 0x0c }, { 1450000000, 0x1c },
96 { 1500000000, 0x2c }, { 1550000000, 0x3d }, { 1600000000, 0x0d },
97 { 1650000000, 0x1d }, { 1700000000, 0x2e }, { 1750000000, 0x3e },
98 { 1800000000, 0x0e }, { 1850000000, 0x1e }, { 1900000000, 0x2f },
99 { 1950000000, 0x3f }, { 2000000000, 0x0f }, { 2050000000, 0x40 },
> 100 { 2100000000, 0x41 }, { 2150000000, 0x42 }, { 2200000000, 0x43 },
101 { 2250000000, 0x44 }, { 2300000000, 0x45 }, { 2350000000, 0x46 },
102 { 2400000000, 0x47 }, { 2450000000, 0x48 }, { 2500000000, 0x49 },
103 { /* sentinel */ },
104 };
105

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