diff for duplicates of <202302140709.CdkxgtPi-lkp@intel.com> diff --git a/a/1.txt b/N1/1.txt index becf94c..5d99cbd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,10 +1,33 @@ +BCC: lkp@intel.com +CC: oe-kbuild-all@lists.linux.dev +In-Reply-To: <20230210100122.80255-1-mason.huo@starfivetech.com> +References: <20230210100122.80255-1-mason.huo@starfivetech.com> +TO: Mason Huo <mason.huo@starfivetech.com> +TO: Thomas Gleixner <tglx@linutronix.de> +TO: Marc Zyngier <maz@kernel.org> +TO: Palmer Dabbelt <palmer@dabbelt.com> +TO: Paul Walmsley <paul.walmsley@sifive.com> +CC: linux-kernel@vger.kernel.org +CC: linux-riscv@lists.infradead.org +CC: Mason Huo <mason.huo@starfivetech.com> +CC: Ley Foon Tan <leyfoon.tan@starfivetech.com> +CC: Sia Jee Heng <jeeheng.sia@starfivetech.com> + Hi Mason, +Thank you for the patch! Perhaps something to improve: + +[auto build test WARNING on tip/irq/core] +[also build test WARNING on linus/master v6.2-rc8 next-20230213] +[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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Mason-Huo/irqchip-irq-sifive-plic-Add-syscore-callbacks-for-hibernation/20230210-180324 patch link: https://lore.kernel.org/r/20230210100122.80255-1-mason.huo%40starfivetech.com patch subject: [PATCH v3] irqchip/irq-sifive-plic: Add syscore callbacks for hibernation +:::::: branch date: 4 days ago +:::::: commit date: 4 days ago config: riscv-randconfig-m031-20230212 (https://download.01.org/0day-ci/archive/20230214/202302140709.CdkxgtPi-lkp@intel.com/config) compiler: riscv32-linux-gcc (GCC) 12.1.0 @@ -18,6 +41,7 @@ drivers/irqchip/irq-sifive-plic.c:521 __plic_init() warn: double check that we'r vim +521 drivers/irqchip/irq-sifive-plic.c +ccbe80bad571c2 Atish Patra 2020-03-02 408 dd46337ca69662 Lad Prabhakar 2022-06-30 409 static int __init __plic_init(struct device_node *node, dd46337ca69662 Lad Prabhakar 2022-06-30 410 struct device_node *parent, dd46337ca69662 Lad Prabhakar 2022-06-30 411 unsigned long plic_quirks) @@ -132,11 +156,6 @@ f1ad1133b18f2a Atish Patra 2020-03-02 519 handler->priv = priv; 2858a4d6b620ef Mason Huo 2023-02-10 520 2858a4d6b620ef Mason Huo 2023-02-10 @521 handler->enable_save = kcalloc(DIV_ROUND_UP(nr_irqs, 32), 2858a4d6b620ef Mason Huo 2023-02-10 522 32, GFP_KERNEL); - -Smatch is correct that this should be allocating -sizeof(*handler->enable_save) which is 4 bytes instead of 32 bytes. -I looked at the code, and this is a bits vs bytes bug. - 2858a4d6b620ef Mason Huo 2023-02-10 523 if (!handler->enable_save) 2858a4d6b620ef Mason Huo 2023-02-10 524 goto out_free_enable_reg; 9ce06497c2722a Christoph Hellwig 2019-09-03 525 done: @@ -178,13 +197,8 @@ f1ad1133b18f2a Atish Patra 2020-03-02 560 out_free_priv: f1ad1133b18f2a Atish Patra 2020-03-02 561 kfree(priv); 8237f8bc4f6eb7 Christoph Hellwig 2018-07-26 562 return error; 8237f8bc4f6eb7 Christoph Hellwig 2018-07-26 563 } +8237f8bc4f6eb7 Christoph Hellwig 2018-07-26 564 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests - - -_______________________________________________ -linux-riscv mailing list -linux-riscv@lists.infradead.org -http://lists.infradead.org/mailman/listinfo/linux-riscv diff --git a/a/content_digest b/N1/content_digest index 4740fa5..bccc573 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,29 +1,41 @@ - "ref\020230210100122.80255-1-mason.huo@starfivetech.com\0" - "From\0Dan Carpenter <error27@gmail.com>\0" + "From\0kernel test robot <lkp@intel.com>\0" "Subject\0Re: [PATCH v3] irqchip/irq-sifive-plic: Add syscore callbacks for hibernation\0" - "Date\0Tue, 14 Feb 2023 10:54:24 +0300\0" - "To\0oe-kbuild@lists.linux.dev" - Mason Huo <mason.huo@starfivetech.com> - Thomas Gleixner <tglx@linutronix.de> - Marc Zyngier <maz@kernel.org> - Palmer Dabbelt <palmer@dabbelt.com> - " Paul Walmsley <paul.walmsley@sifive.com>\0" + "Date\0Tue, 14 Feb 2023 07:12:14 +0800\0" + "To\0oe-kbuild@lists.linux.dev\0" "Cc\0lkp@intel.com" - oe-kbuild-all@lists.linux.dev - linux-kernel@vger.kernel.org - linux-riscv@lists.infradead.org - Mason Huo <mason.huo@starfivetech.com> - Ley Foon Tan <leyfoon.tan@starfivetech.com> - " Sia Jee Heng <jeeheng.sia@starfivetech.com>\0" + " Dan Carpenter <error27@gmail.com>\0" "\00:1\0" "b\0" + "BCC: lkp@intel.com\n" + "CC: oe-kbuild-all@lists.linux.dev\n" + "In-Reply-To: <20230210100122.80255-1-mason.huo@starfivetech.com>\n" + "References: <20230210100122.80255-1-mason.huo@starfivetech.com>\n" + "TO: Mason Huo <mason.huo@starfivetech.com>\n" + "TO: Thomas Gleixner <tglx@linutronix.de>\n" + "TO: Marc Zyngier <maz@kernel.org>\n" + "TO: Palmer Dabbelt <palmer@dabbelt.com>\n" + "TO: Paul Walmsley <paul.walmsley@sifive.com>\n" + "CC: linux-kernel@vger.kernel.org\n" + "CC: linux-riscv@lists.infradead.org\n" + "CC: Mason Huo <mason.huo@starfivetech.com>\n" + "CC: Ley Foon Tan <leyfoon.tan@starfivetech.com>\n" + "CC: Sia Jee Heng <jeeheng.sia@starfivetech.com>\n" + "\n" "Hi Mason,\n" "\n" + "Thank you for the patch! Perhaps something to improve:\n" + "\n" + "[auto build test WARNING on tip/irq/core]\n" + "[also build test WARNING on linus/master v6.2-rc8 next-20230213]\n" + "[If your patch is applied to the wrong git tree, kindly drop us a note.\n" + "And when submitting patch, we suggest to use '--base' as documented in\n" "https://git-scm.com/docs/git-format-patch#_base_tree_information]\n" "\n" "url: https://github.com/intel-lab-lkp/linux/commits/Mason-Huo/irqchip-irq-sifive-plic-Add-syscore-callbacks-for-hibernation/20230210-180324\n" "patch link: https://lore.kernel.org/r/20230210100122.80255-1-mason.huo%40starfivetech.com\n" "patch subject: [PATCH v3] irqchip/irq-sifive-plic: Add syscore callbacks for hibernation\n" + ":::::: branch date: 4 days ago\n" + ":::::: commit date: 4 days ago\n" "config: riscv-randconfig-m031-20230212 (https://download.01.org/0day-ci/archive/20230214/202302140709.CdkxgtPi-lkp@intel.com/config)\n" "compiler: riscv32-linux-gcc (GCC) 12.1.0\n" "\n" @@ -37,6 +49,7 @@ "\n" "vim +521 drivers/irqchip/irq-sifive-plic.c\n" "\n" + "ccbe80bad571c2 Atish Patra 2020-03-02 408 \n" "dd46337ca69662 Lad Prabhakar 2022-06-30 409 static int __init __plic_init(struct device_node *node,\n" "dd46337ca69662 Lad Prabhakar 2022-06-30 410 \t\t\t struct device_node *parent,\n" "dd46337ca69662 Lad Prabhakar 2022-06-30 411 \t\t\t unsigned long plic_quirks)\n" @@ -151,11 +164,6 @@ "2858a4d6b620ef Mason Huo 2023-02-10 520 \n" "2858a4d6b620ef Mason Huo 2023-02-10 @521 \t\thandler->enable_save = kcalloc(DIV_ROUND_UP(nr_irqs, 32),\n" "2858a4d6b620ef Mason Huo 2023-02-10 522 \t\t\t\t\t\t32, GFP_KERNEL);\n" - "\n" - "Smatch is correct that this should be allocating\n" - "sizeof(*handler->enable_save) which is 4 bytes instead of 32 bytes.\n" - "I looked at the code, and this is a bits vs bytes bug.\n" - "\n" "2858a4d6b620ef Mason Huo 2023-02-10 523 \t\tif (!handler->enable_save)\n" "2858a4d6b620ef Mason Huo 2023-02-10 524 \t\t\tgoto out_free_enable_reg;\n" "9ce06497c2722a Christoph Hellwig 2019-09-03 525 done:\n" @@ -197,15 +205,10 @@ "f1ad1133b18f2a Atish Patra 2020-03-02 561 \tkfree(priv);\n" "8237f8bc4f6eb7 Christoph Hellwig 2018-07-26 562 \treturn error;\n" "8237f8bc4f6eb7 Christoph Hellwig 2018-07-26 563 }\n" + "8237f8bc4f6eb7 Christoph Hellwig 2018-07-26 564 \n" "\n" "-- \n" "0-DAY CI Kernel Test Service\n" - "https://github.com/intel/lkp-tests\n" - "\n" - "\n" - "_______________________________________________\n" - "linux-riscv mailing list\n" - "linux-riscv@lists.infradead.org\n" - http://lists.infradead.org/mailman/listinfo/linux-riscv + https://github.com/intel/lkp-tests -5e80bd281b17c8415a165b5ce3cfeeaad840b63c7a3b810c6cad4aded298415a +4095d683c41115616b601d9ac23c465e85c67ea5cecf5330f1c586eb68d8fce6
diff --git a/a/1.txt b/N2/1.txt index becf94c..4ba0591 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -182,9 +182,3 @@ f1ad1133b18f2a Atish Patra 2020-03-02 561 kfree(priv); -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests - - -_______________________________________________ -linux-riscv mailing list -linux-riscv@lists.infradead.org -http://lists.infradead.org/mailman/listinfo/linux-riscv diff --git a/a/content_digest b/N2/content_digest index 4740fa5..b4b320f 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -200,12 +200,6 @@ "\n" "-- \n" "0-DAY CI Kernel Test Service\n" - "https://github.com/intel/lkp-tests\n" - "\n" - "\n" - "_______________________________________________\n" - "linux-riscv mailing list\n" - "linux-riscv@lists.infradead.org\n" - http://lists.infradead.org/mailman/listinfo/linux-riscv + https://github.com/intel/lkp-tests -5e80bd281b17c8415a165b5ce3cfeeaad840b63c7a3b810c6cad4aded298415a +e94e75b0b6a967b6c17b375d7e5c5df96d58fb9fb2946efdd0423bbf51aebe63
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.