diff for duplicates of <20261125184601.R647t8Sj-lkp@intel.com> diff --git a/a/1.txt b/N1/1.txt index c86e9da..502163b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,16 +1,6 @@ -Unfiltered warning: this smatch report is sent as-is and has not been -reviewed for false positives, so please treat it with due skepticism. - -BCC: lkp@intel.com -CC: oe-kbuild-all@lists.linux.dev -TO: Yaohan Li <shunsheng1218@gmail.com> -CC: Mark Brown <broonie@kernel.org> - tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-7.5 head: d23ba232a8fefe909aeb9366e3905a95a429ebfc commit: d23ba232a8fefe909aeb9366e3905a95a429ebfc [6/6] regulator: qcom-labibb: stop the recovery workers on teardown -:::::: branch date: 22 hours ago -:::::: commit date: 22 hours ago config: openrisc-randconfig-2200-20261125 (https://download.01.org/0day-ci/archive/20261125/20261125184601.R647t8Sj-lkp@intel.com/config) compiler: or1k-linux-gcc (GCC) 10.5.0 smatch: v0.5.0-9187-g5189e3fb @@ -26,15 +16,6 @@ drivers/regulator/qcom-labibb-regulator.c:444 qcom_labibb_setup_ocp_irq() warn: vim +444 drivers/regulator/qcom-labibb-regulator.c -d23ba232a8fefe9 Yaohan Li 2026-11-18 384 -d23ba232a8fefe9 Yaohan Li 2026-11-18 385 /* -d23ba232a8fefe9 Yaohan Li 2026-11-18 386 * Request the over-current interrupt once the regulator is registered. -d23ba232a8fefe9 Yaohan Li 2026-11-18 387 * Requesting it from ->set_over_current_protection() is not possible: the -d23ba232a8fefe9 Yaohan Li 2026-11-18 388 * regulator core calls that op from set_machine_constraints(), inside -d23ba232a8fefe9 Yaohan Li 2026-11-18 389 * regulator_register(), and a devres node created there is released after -d23ba232a8fefe9 Yaohan Li 2026-11-18 390 * the regulator itself. The recovery worker would then still be runnable -d23ba232a8fefe9 Yaohan Li 2026-11-18 391 * while vreg->rdev is already gone. -d23ba232a8fefe9 Yaohan Li 2026-11-18 392 */ d23ba232a8fefe9 Yaohan Li 2026-11-18 393 static int qcom_labibb_setup_ocp_irq(struct labibb_regulator *vreg) d23ba232a8fefe9 Yaohan Li 2026-11-18 394 { d23ba232a8fefe9 Yaohan Li 2026-11-18 395 u32 irq_flags = IRQF_ONESHOT; @@ -85,10 +66,17 @@ d23ba232a8fefe9 Yaohan Li 2026-11-18 439 */ d23ba232a8fefe9 Yaohan Li 2026-11-18 440 ret = qcom_labibb_ocp_hw_enable(vreg->rdev); d23ba232a8fefe9 Yaohan Li 2026-11-18 441 if (ret) d23ba232a8fefe9 Yaohan Li 2026-11-18 442 qcom_labibb_ocp_hw_disable(vreg->rdev); + +Ideally qcom_labibb_ocp_hw_enable() would clean up after its ownself on +failure... + +https://staticthinking.wordpress.com/2022/04/28/free-the-last-thing-style/ + +Also request_threaded_irq() needs cleanup. + d23ba232a8fefe9 Yaohan Li 2026-11-18 443 d23ba232a8fefe9 Yaohan Li 2026-11-18 @444 return ret; d23ba232a8fefe9 Yaohan Li 2026-11-18 445 } -d23ba232a8fefe9 Yaohan Li 2026-11-18 446 -- 0-DAY CI Kernel Test Service diff --git a/a/content_digest b/N1/content_digest index 0fabb73..3433f2d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,24 +1,16 @@ - "From\0kernel test robot <lkp@intel.com>\0" + "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0[broonie-regulator:for-7.5 6/6] drivers/regulator/qcom-labibb-regulator.c:444 qcom_labibb_setup_ocp_irq() warn: 'vreg->ocp_irq' from request_threaded_irq() not released on lines: 444.\0" - "Date\0Wed, 25 Nov 2026 18:55:15 +0100\0" - "To\0oe-kbuild@lists.linux.dev\0" + "Date\0Thu, 26 Nov 2026 08:56:01 +0300\0" + "To\0oe-kbuild@lists.linux.dev" + " Yaohan Li <shunsheng1218@gmail.com>\0" "Cc\0lkp@intel.com" - " Dan Carpenter <error27@gmail.com>\0" + oe-kbuild-all@lists.linux.dev + " Mark Brown <broonie@kernel.org>\0" "\00:1\0" "b\0" - "Unfiltered warning: this smatch report is sent as-is and has not been\n" - "reviewed for false positives, so please treat it with due skepticism.\n" - "\n" - "BCC: lkp@intel.com\n" - "CC: oe-kbuild-all@lists.linux.dev\n" - "TO: Yaohan Li <shunsheng1218@gmail.com>\n" - "CC: Mark Brown <broonie@kernel.org>\n" - "\n" "tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-7.5\n" "head: d23ba232a8fefe909aeb9366e3905a95a429ebfc\n" "commit: d23ba232a8fefe909aeb9366e3905a95a429ebfc [6/6] regulator: qcom-labibb: stop the recovery workers on teardown\n" - ":::::: branch date: 22 hours ago\n" - ":::::: commit date: 22 hours ago\n" "config: openrisc-randconfig-2200-20261125 (https://download.01.org/0day-ci/archive/20261125/20261125184601.R647t8Sj-lkp@intel.com/config)\n" "compiler: or1k-linux-gcc (GCC) 10.5.0\n" "smatch: v0.5.0-9187-g5189e3fb\n" @@ -34,15 +26,6 @@ "\n" "vim +444 drivers/regulator/qcom-labibb-regulator.c\n" "\n" - "d23ba232a8fefe9 Yaohan Li 2026-11-18 384 \n" - "d23ba232a8fefe9 Yaohan Li 2026-11-18 385 /*\n" - "d23ba232a8fefe9 Yaohan Li 2026-11-18 386 * Request the over-current interrupt once the regulator is registered.\n" - "d23ba232a8fefe9 Yaohan Li 2026-11-18 387 * Requesting it from ->set_over_current_protection() is not possible: the\n" - "d23ba232a8fefe9 Yaohan Li 2026-11-18 388 * regulator core calls that op from set_machine_constraints(), inside\n" - "d23ba232a8fefe9 Yaohan Li 2026-11-18 389 * regulator_register(), and a devres node created there is released after\n" - "d23ba232a8fefe9 Yaohan Li 2026-11-18 390 * the regulator itself. The recovery worker would then still be runnable\n" - "d23ba232a8fefe9 Yaohan Li 2026-11-18 391 * while vreg->rdev is already gone.\n" - "d23ba232a8fefe9 Yaohan Li 2026-11-18 392 */\n" "d23ba232a8fefe9 Yaohan Li 2026-11-18 393 static int qcom_labibb_setup_ocp_irq(struct labibb_regulator *vreg)\n" "d23ba232a8fefe9 Yaohan Li 2026-11-18 394 {\n" "d23ba232a8fefe9 Yaohan Li 2026-11-18 395 \tu32 irq_flags = IRQF_ONESHOT;\n" @@ -93,13 +76,20 @@ "d23ba232a8fefe9 Yaohan Li 2026-11-18 440 \tret = qcom_labibb_ocp_hw_enable(vreg->rdev);\n" "d23ba232a8fefe9 Yaohan Li 2026-11-18 441 \tif (ret)\n" "d23ba232a8fefe9 Yaohan Li 2026-11-18 442 \t\tqcom_labibb_ocp_hw_disable(vreg->rdev);\n" + "\n" + "Ideally qcom_labibb_ocp_hw_enable() would clean up after its ownself on\n" + "failure...\n" + "\n" + "https://staticthinking.wordpress.com/2022/04/28/free-the-last-thing-style/\n" + "\n" + "Also request_threaded_irq() needs cleanup.\n" + "\n" "d23ba232a8fefe9 Yaohan Li 2026-11-18 443 \n" "d23ba232a8fefe9 Yaohan Li 2026-11-18 @444 \treturn ret;\n" "d23ba232a8fefe9 Yaohan Li 2026-11-18 445 }\n" - "d23ba232a8fefe9 Yaohan Li 2026-11-18 446 \n" "\n" "-- \n" "0-DAY CI Kernel Test Service\n" https://github.com/intel/lkp-tests/wiki -a05cb93a1b38cf5a732b25dcf97ef591b0bbde72f08230d4984ed815a0276882 +b9c5d92e7ef95223a29e9cfcd4a6728abdf21b0e9405f97b2f249f9a5ee2b4f1
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.