All of lore.kernel.org
 help / color / mirror / Atom feed
* [vireshk-pm:opp/test 52/53] drivers/opp/core.c:2358 _opp_clear_config() warn: bitwise AND condition is false here
@ 2022-06-28  2:40 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-28  2:40 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
TO: Viresh Kumar <viresh.kumar@linaro.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git opp/test
head:   cd70d7b1958e83764fe7aac2d4e899d9a518f560
commit: 18de56a26e2120bb2f537c8d27858faa8c2356e8 [52/53] temp
:::::: branch date: 15 hours ago
:::::: commit date: 15 hours ago
config: x86_64-randconfig-m001-20220627 (https://download.01.org/0day-ci/archive/20220628/202206281001.mI9ESYuw-lkp(a)intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

New smatch warnings:
drivers/opp/core.c:2358 _opp_clear_config() warn: bitwise AND condition is false here

Old smatch warnings:
drivers/opp/core.c:877 dev_pm_opp_config_clks_simple() error: uninitialized symbol 'ret'.
drivers/opp/core.c:2304 _opp_attach_genpd() warn: passing zero to 'PTR_ERR'

vim +2358 drivers/opp/core.c

b4b9e223eccaee Dmitry Osipenko 2021-01-18  2345  
18de56a26e2120 Viresh Kumar    2022-06-27  2346  static void _opp_clear_config(struct opp_config_idr *data)
18de56a26e2120 Viresh Kumar    2022-06-27  2347  {
18de56a26e2120 Viresh Kumar    2022-06-27  2348  	if (data->flags & OPP_CONFIG_GENPD)
18de56a26e2120 Viresh Kumar    2022-06-27  2349  		_opp_detach_genpd(data->opp_table);
18de56a26e2120 Viresh Kumar    2022-06-27  2350  	if (data->flags & OPP_CONFIG_REGULATOR)
18de56a26e2120 Viresh Kumar    2022-06-27  2351  		_opp_put_regulators(data->opp_table);
18de56a26e2120 Viresh Kumar    2022-06-27  2352  	if (data->flags & OPP_CONFIG_SUPPORTED_HW)
18de56a26e2120 Viresh Kumar    2022-06-27  2353  		_opp_put_supported_hw(data->opp_table);
18de56a26e2120 Viresh Kumar    2022-06-27  2354  	if (data->flags & OPP_CONFIG_REGULATOR_HELPER)
18de56a26e2120 Viresh Kumar    2022-06-27  2355  		_opp_put_config_regulators_helper(data->opp_table);
18de56a26e2120 Viresh Kumar    2022-06-27  2356  	if (data->flags & OPP_CONFIG_PROP_NAME)
18de56a26e2120 Viresh Kumar    2022-06-27  2357  		_opp_put_prop_name(data->opp_table);
18de56a26e2120 Viresh Kumar    2022-06-27 @2358  	if (data->flags & OPP_CONFIG_CLK)
18de56a26e2120 Viresh Kumar    2022-06-27  2359  		_opp_put_clknames(data->opp_table);
18de56a26e2120 Viresh Kumar    2022-06-27  2360  
18de56a26e2120 Viresh Kumar    2022-06-27  2361  	dev_pm_opp_put_opp_table(data->opp_table);
18de56a26e2120 Viresh Kumar    2022-06-27  2362  	kfree(data);
18de56a26e2120 Viresh Kumar    2022-06-27  2363  }
18de56a26e2120 Viresh Kumar    2022-06-27  2364  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-28  2:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-28  2:40 [vireshk-pm:opp/test 52/53] drivers/opp/core.c:2358 _opp_clear_config() warn: bitwise AND condition is false here 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.