From: kernel test robot <lkp@intel.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
Linux Memory Management List <linux-mm@kvack.org>,
Rob Clark <robdclark@chromium.org>,
Abhinav Kumar <abhinavk@codeaurora.org>
Subject: [linux-next:master 9470/14048] drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c:1148:48: warning: implicit conversion from 'unsigned long long' to 'unsigned long' changes value from 5000000000 to 705032704
Date: Wed, 21 Apr 2021 01:42:09 +0800 [thread overview]
Message-ID: <202104210102.AGi3rYbZ-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2813 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 593ef1658ecf61d3619885bdbbcfffa3d1417891
commit: 076437c9e360737c85d443bbf81d5ea02b3d182d [9470/14048] drm/msm/dsi: move min/max PLL rate to phy config
config: arm-randconfig-r025-20210420 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project ca8eef7e3da8f750d7c7aa004fe426d1d34787ea)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=076437c9e360737c85d443bbf81d5ea02b3d182d
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 076437c9e360737c85d443bbf81d5ea02b3d182d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm
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/msm/dsi/phy/dsi_phy_7nm.c:1148:48: warning: implicit conversion from 'unsigned long long' to 'unsigned long' changes value from 5000000000 to 705032704 [-Wconstant-conversion]
.max_pll_rate = (5000000000ULL < ULONG_MAX) ? 5000000000ULL : ULONG_MAX,
^~~~~~~~~~~~~
1 warning generated.
vim +1148 drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c
1125
1126 const struct msm_dsi_phy_cfg dsi_phy_7nm_cfgs = {
1127 .src_pll_truthtable = { {false, false}, {true, false} },
1128 .has_phy_lane = true,
1129 .reg_cfg = {
1130 .num = 1,
1131 .regs = {
1132 {"vdds", 36000, 32},
1133 },
1134 },
1135 .ops = {
1136 .enable = dsi_7nm_phy_enable,
1137 .disable = dsi_7nm_phy_disable,
1138 .pll_init = dsi_pll_7nm_init,
1139 },
1140 .pll_ops = {
1141 .get_provider = dsi_pll_7nm_get_provider,
1142 .destroy = dsi_pll_7nm_destroy,
1143 .save_state = dsi_pll_7nm_save_state,
1144 .restore_state = dsi_pll_7nm_restore_state,
1145 .set_usecase = dsi_pll_7nm_set_usecase,
1146 },
1147 .min_pll_rate = 600000000UL,
> 1148 .max_pll_rate = (5000000000ULL < ULONG_MAX) ? 5000000000ULL : ULONG_MAX,
1149 .io_start = { 0xae94400, 0xae96400 },
1150 .num_dsi_phy = 2,
1151 .quirks = DSI_PHY_7NM_QUIRK_V4_1,
1152 };
1153
---
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: 38676 bytes --]
reply other threads:[~2021-04-20 17:42 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=202104210102.AGi3rYbZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=abhinavk@codeaurora.org \
--cc=clang-built-linux@googlegroups.com \
--cc=dmitry.baryshkov@linaro.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=robdclark@chromium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox