All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [pinchartl-media:media/drm/du/v3u 16/28] drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:95:2: warning: this decimal constant is unsigned only in ISO C90
Date: Thu, 17 Jun 2021 16:33:00 +0800	[thread overview]
Message-ID: <202106171652.GDP6PiJw-lkp@intel.com> (raw)

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

tree:   git://linuxtv.org/pinchartl/media.git media/drm/du/v3u
head:   897fa921c2e92514cb1a6d9395d5d70d254cd3d0
commit: c6b5acb07fd4b8e0ca566e64b688c17126b80e90 [16/28] drm: rcar-du: Add R-Car DSI driver
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.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
        git remote add pinchartl-media git://linuxtv.org/pinchartl/media.git
        git fetch --no-tags pinchartl-media media/drm/du/v3u
        git checkout c6b5acb07fd4b8e0ca566e64b688c17126b80e90
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc 

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/gpu/drm/rcar-du/rcar_mipi_dsi.c:95:2: warning: this decimal constant is unsigned only in ISO C90
      95 |  {2100000000, 0x41}, {2150000000, 0x42}, {2200000000, 0x43},
         |  ^
>> drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:95:2: warning: this decimal constant is unsigned only in ISO C90
   drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:96:2: warning: this decimal constant is unsigned only in ISO C90
      96 |  {2250000000, 0x44}, {2300000000, 0x45}, {2350000000, 0x46},
         |  ^
   drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:96:2: warning: this decimal constant is unsigned only in ISO C90
   drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:96:2: warning: this decimal constant is unsigned only in ISO C90
   drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:97:2: warning: this decimal constant is unsigned only in ISO C90
      97 |  {2400000000, 0x47}, {2450000000, 0x48}, {2500000000, 0x49},
         |  ^
   drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:97:2: warning: this decimal constant is unsigned only in ISO C90
   drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:97:2: warning: this decimal constant is unsigned only in ISO C90
>> drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:613:5: warning: no previous prototype for 'rcar_mipi_dsi_clk_enable' [-Wmissing-prototypes]
     613 | int rcar_mipi_dsi_clk_enable(struct drm_bridge *bridge)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:636:6: warning: no previous prototype for 'rcar_mipi_dsi_clk_disable' [-Wmissing-prototypes]
     636 | void rcar_mipi_dsi_clk_disable(struct drm_bridge *bridge)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~


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

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

---
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: 68279 bytes --]

                 reply	other threads:[~2021-06-17  8:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202106171652.GDP6PiJw-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.