* [intel-linux-intel-lts:5.4/yocto 127/1142] drivers/clk/clk-cdcun1208.c:141 cdcun1208_clock_write_regs() error: uninitialized symbol 'ret'.
@ 2021-04-10 6:21 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-10 6:21 UTC (permalink / raw
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2241 bytes --]
CC: kbuild-all(a)lists.01.org
TO: Svetoslav Stoilov <svetoslavx.stoilov@intel.com>
CC: "Li, Yifan" <yifan2.li@intel.com>
tree: https://github.com/intel/linux-intel-lts.git 5.4/yocto
head: eeb611e5394c56d45c5cc8f7dc484c9f19e93143
commit: ea5fc37da684fda7d33b8f8dca7dfdf186eed0c5 [127/1142] clk: Add driver for CDCUN1208 fanout buffer
:::::: branch date: 8 months ago
:::::: commit date: 8 months ago
config: i386-randconfig-m021-20210409 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
drivers/clk/clk-cdcun1208.c:141 cdcun1208_clock_write_regs() error: uninitialized symbol 'ret'.
vim +/ret +141 drivers/clk/clk-cdcun1208.c
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 125
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 126 static int
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 127 cdcun1208_clock_write_regs(struct i2c_client *client,
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 128 const struct cdcun1208_clock_reg *regs,
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 129 u32 len)
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 130 {
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 131 int ret;
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 132 u32 i;
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 133
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 134 for (i = 0; i < len; i++) {
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 135 ret = cdcun1208_clock_write_reg(client, regs[i].address,
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 136 regs[i].val);
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 137 if (ret < 0)
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 138 return ret;
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 139 }
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 140
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 @141 return ret;
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 142 }
ea5fc37da684fd Svetoslav Stoilov 2019-10-08 143
---
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: 36855 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-10 6:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-10 6:21 [intel-linux-intel-lts:5.4/yocto 127/1142] drivers/clk/clk-cdcun1208.c:141 cdcun1208_clock_write_regs() error: uninitialized symbol 'ret' 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.