From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [vireshk-pm:opp/test 52/53] drivers/opp/core.c:2358 _opp_clear_config() warn: bitwise AND condition is false here
Date: Tue, 28 Jun 2022 10:40:14 +0800 [thread overview]
Message-ID: <202206281001.mI9ESYuw-lkp@intel.com> (raw)
[-- 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
reply other threads:[~2022-06-28 2:40 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=202206281001.mI9ESYuw-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@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.