* Re: [PATCH v5 3/4] clk: visconti: Add support common clock driver and reset driver
[not found] <20211025031038.4180686-4-nobuhiro1.iwamatsu@toshiba.co.jp>
@ 2021-10-27 8:40 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-27 8:40 UTC (permalink / raw)
To: Nobuhiro Iwamatsu; +Cc: llvm, kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2377 bytes --]
Hi Nobuhiro,
I love your patch! Perhaps something to improve:
[auto build test WARNING on clk/clk-next]
[also build test WARNING on robh/for-next pza/reset/next linus/master v5.15-rc7 next-20211026]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Nobuhiro-Iwamatsu/clk-visconti-Add-support-common-clock-driver-and-reset-driver/20211025-111312
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: arm64-randconfig-r006-20211027 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/0day-ci/linux/commit/de7d357f92135d8e5a2576245eb2176e9e0f0bd1
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Nobuhiro-Iwamatsu/clk-visconti-Add-support-common-clock-driver-and-reset-driver/20211025-111312
git checkout de7d357f92135d8e5a2576245eb2176e9e0f0bd1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64
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/clk/visconti/pll.c:291:20: warning: address of array 'ctx->clk_data.hws' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (ctx->clk_data.hws && id)
~~~~~~~~~~~~~~^~~ ~~
1 warning generated.
vim +291 drivers/clk/visconti/pll.c
286
287 static void visconti_pll_add_lookup(struct visconti_pll_provider *ctx,
288 struct clk_hw *hw_clk,
289 unsigned int id)
290 {
> 291 if (ctx->clk_data.hws && id)
292 ctx->clk_data.hws[id] = hw_clk;
293 }
294
---
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: 30982 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-27 8:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20211025031038.4180686-4-nobuhiro1.iwamatsu@toshiba.co.jp>
2021-10-27 8:40 ` [PATCH v5 3/4] clk: visconti: Add support common clock driver and reset driver kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox