diff for duplicates of <202508291556.kjNumYgR-lkp@intel.com> diff --git a/a/1.txt b/N1/1.txt index 9fe7f47..183cf90 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,20 +1,41 @@ +BCC: lkp@intel.com +CC: oe-kbuild-all@lists.linux.dev +In-Reply-To: <20250823154009.25992-11-jszhang@kernel.org> +References: <20250823154009.25992-11-jszhang@kernel.org> +TO: Jisheng Zhang <jszhang@kernel.org> +TO: Vinod Koul <vkoul@kernel.org> +TO: Rob Herring <robh@kernel.org> +TO: Krzysztof Kozlowski <krzk@kernel.org> +TO: Conor Dooley <conor+dt@kernel.org> +TO: Robin Murphy <robin.murphy@arm.com> +CC: dmaengine@vger.kernel.org +CC: devicetree@vger.kernel.org +CC: linux-arm-kernel@lists.infradead.org +CC: linux-kernel@vger.kernel.org + Hi Jisheng, kernel test robot noticed the following build warnings: +[auto build test WARNING on vkoul-dmaengine/next] +[also build test WARNING on robh/for-next krzk-dt/for-next linus/master v6.17-rc3 next-20250829] +[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/Jisheng-Zhang/dmaengine-dma350-Fix-CH_CTRL_USESRCTRIGIN-definition/20250824-000425 base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next patch link: https://lore.kernel.org/r/20250823154009.25992-11-jszhang%40kernel.org patch subject: [PATCH 10/14] dmaengine: dma350: Alloc command[] from dma pool +:::::: branch date: 6 days ago +:::::: commit date: 6 days ago config: arm-randconfig-r073-20250829 (https://download.01.org/0day-ci/archive/20250829/202508291556.kjNumYgR-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.4.0 If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> -| Reported-by: Dan Carpenter <dan.carpenter@linaro.org> +| Reported-by: Dan Carpenter <error27@gmail.com> | Closes: https://lore.kernel.org/r/202508291556.kjNumYgR-lkp@intel.com/ smatch warnings: @@ -22,6 +43,7 @@ drivers/dma/arm-dma350.c:387 d350_get_residue() error: uninitialized symbol 'sgc vim +/sgcur +387 drivers/dma/arm-dma350.c +5d099706449d54 Robin Murphy 2025-03-12 359 5d099706449d54 Robin Murphy 2025-03-12 360 static u32 d350_get_residue(struct d350_chan *dch) 5d099706449d54 Robin Murphy 2025-03-12 361 { eae79fde2ff50c Jisheng Zhang 2025-08-23 362 u32 res, xsize, xsizehi, linkaddr, linkaddrhi, hi_new; @@ -45,24 +67,18 @@ eae79fde2ff50c Jisheng Zhang 2025-08-23 379 eae79fde2ff50c Jisheng Zhang 2025-08-23 380 for (i = 0; i < desc->sglen; i++) { eae79fde2ff50c Jisheng Zhang 2025-08-23 381 if (desc->sg[i].phys == (((u64)linkaddrhi << 32) | (linkaddr & ~CH_LINKADDR_EN))) eae79fde2ff50c Jisheng Zhang 2025-08-23 382 sgcur = i; - -I'm suprised there isn't a break statement after this assignment. -What if we exit the loop with i == desc->sglen? - eae79fde2ff50c Jisheng Zhang 2025-08-23 383 } eae79fde2ff50c Jisheng Zhang 2025-08-23 384 5d099706449d54 Robin Murphy 2025-03-12 385 res = FIELD_GET(CH_XY_DES, xsize); 5d099706449d54 Robin Murphy 2025-03-12 386 res |= FIELD_GET(CH_XY_DES, xsizehi) << 16; eae79fde2ff50c Jisheng Zhang 2025-08-23 @387 res <<= desc->sg[sgcur].tsz; - ^^^^^ -Uninitialized. - eae79fde2ff50c Jisheng Zhang 2025-08-23 388 eae79fde2ff50c Jisheng Zhang 2025-08-23 389 for (i = sgcur + 1; i < desc->sglen; i++) eae79fde2ff50c Jisheng Zhang 2025-08-23 390 res += (((u32)desc->sg[i].xsizehi << 16 | desc->sg[i].xsize) << desc->sg[i].tsz); 5d099706449d54 Robin Murphy 2025-03-12 391 eae79fde2ff50c Jisheng Zhang 2025-08-23 392 return res; 5d099706449d54 Robin Murphy 2025-03-12 393 } +5d099706449d54 Robin Murphy 2025-03-12 394 -- 0-DAY CI Kernel Test Service diff --git a/a/content_digest b/N1/content_digest index 87ad107..998e335 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,39 +1,49 @@ - "ref\020250823154009.25992-11-jszhang@kernel.org\0" - "From\0Dan Carpenter <dan.carpenter@linaro.org>\0" + "From\0kernel test robot <lkp@intel.com>\0" "Subject\0Re: [PATCH 10/14] dmaengine: dma350: Alloc command[] from dma pool\0" - "Date\0Mon, 1 Sep 2025 13:27:01 +0300\0" - "To\0oe-kbuild@lists.linux.dev" - Jisheng Zhang <jszhang@kernel.org> - Vinod Koul <vkoul@kernel.org> - Rob Herring <robh@kernel.org> - Krzysztof Kozlowski <krzk@kernel.org> - Conor Dooley <conor+dt@kernel.org> - " Robin Murphy <robin.murphy@arm.com>\0" + "Date\0Fri, 29 Aug 2025 15:58:27 +0800\0" + "To\0oe-kbuild@lists.linux.dev\0" "Cc\0lkp@intel.com" - oe-kbuild-all@lists.linux.dev - dmaengine@vger.kernel.org - devicetree@vger.kernel.org - linux-arm-kernel@lists.infradead.org - " linux-kernel@vger.kernel.org\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: <20250823154009.25992-11-jszhang@kernel.org>\n" + "References: <20250823154009.25992-11-jszhang@kernel.org>\n" + "TO: Jisheng Zhang <jszhang@kernel.org>\n" + "TO: Vinod Koul <vkoul@kernel.org>\n" + "TO: Rob Herring <robh@kernel.org>\n" + "TO: Krzysztof Kozlowski <krzk@kernel.org>\n" + "TO: Conor Dooley <conor+dt@kernel.org>\n" + "TO: Robin Murphy <robin.murphy@arm.com>\n" + "CC: dmaengine@vger.kernel.org\n" + "CC: devicetree@vger.kernel.org\n" + "CC: linux-arm-kernel@lists.infradead.org\n" + "CC: linux-kernel@vger.kernel.org\n" + "\n" "Hi Jisheng,\n" "\n" "kernel test robot noticed the following build warnings:\n" "\n" + "[auto build test WARNING on vkoul-dmaengine/next]\n" + "[also build test WARNING on robh/for-next krzk-dt/for-next linus/master v6.17-rc3 next-20250829]\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/Jisheng-Zhang/dmaengine-dma350-Fix-CH_CTRL_USESRCTRIGIN-definition/20250824-000425\n" "base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next\n" "patch link: https://lore.kernel.org/r/20250823154009.25992-11-jszhang%40kernel.org\n" "patch subject: [PATCH 10/14] dmaengine: dma350: Alloc command[] from dma pool\n" + ":::::: branch date: 6 days ago\n" + ":::::: commit date: 6 days ago\n" "config: arm-randconfig-r073-20250829 (https://download.01.org/0day-ci/archive/20250829/202508291556.kjNumYgR-lkp@intel.com/config)\n" "compiler: arm-linux-gnueabi-gcc (GCC) 13.4.0\n" "\n" "If you fix the issue in a separate patch/commit (i.e. not just a new version of\n" "the same patch/commit), kindly add following tags\n" "| Reported-by: kernel test robot <lkp@intel.com>\n" - "| Reported-by: Dan Carpenter <dan.carpenter@linaro.org>\n" + "| Reported-by: Dan Carpenter <error27@gmail.com>\n" "| Closes: https://lore.kernel.org/r/202508291556.kjNumYgR-lkp@intel.com/\n" "\n" "smatch warnings:\n" @@ -41,6 +51,7 @@ "\n" "vim +/sgcur +387 drivers/dma/arm-dma350.c\n" "\n" + "5d099706449d54 Robin Murphy 2025-03-12 359 \n" "5d099706449d54 Robin Murphy 2025-03-12 360 static u32 d350_get_residue(struct d350_chan *dch)\n" "5d099706449d54 Robin Murphy 2025-03-12 361 {\n" "eae79fde2ff50c Jisheng Zhang 2025-08-23 362 \tu32 res, xsize, xsizehi, linkaddr, linkaddrhi, hi_new;\n" @@ -64,27 +75,21 @@ "eae79fde2ff50c Jisheng Zhang 2025-08-23 380 \tfor (i = 0; i < desc->sglen; i++) {\n" "eae79fde2ff50c Jisheng Zhang 2025-08-23 381 \t\tif (desc->sg[i].phys == (((u64)linkaddrhi << 32) | (linkaddr & ~CH_LINKADDR_EN)))\n" "eae79fde2ff50c Jisheng Zhang 2025-08-23 382 \t\t\tsgcur = i;\n" - "\n" - "I'm suprised there isn't a break statement after this assignment.\n" - "What if we exit the loop with i == desc->sglen?\n" - "\n" "eae79fde2ff50c Jisheng Zhang 2025-08-23 383 \t}\n" "eae79fde2ff50c Jisheng Zhang 2025-08-23 384 \n" "5d099706449d54 Robin Murphy 2025-03-12 385 \tres = FIELD_GET(CH_XY_DES, xsize);\n" "5d099706449d54 Robin Murphy 2025-03-12 386 \tres |= FIELD_GET(CH_XY_DES, xsizehi) << 16;\n" "eae79fde2ff50c Jisheng Zhang 2025-08-23 @387 \tres <<= desc->sg[sgcur].tsz;\n" - " ^^^^^\n" - "Uninitialized.\n" - "\n" "eae79fde2ff50c Jisheng Zhang 2025-08-23 388 \n" "eae79fde2ff50c Jisheng Zhang 2025-08-23 389 \tfor (i = sgcur + 1; i < desc->sglen; i++)\n" "eae79fde2ff50c Jisheng Zhang 2025-08-23 390 \t\tres += (((u32)desc->sg[i].xsizehi << 16 | desc->sg[i].xsize) << desc->sg[i].tsz);\n" "5d099706449d54 Robin Murphy 2025-03-12 391 \n" "eae79fde2ff50c Jisheng Zhang 2025-08-23 392 \treturn res;\n" "5d099706449d54 Robin Murphy 2025-03-12 393 }\n" + "5d099706449d54 Robin Murphy 2025-03-12 394 \n" "\n" "-- \n" "0-DAY CI Kernel Test Service\n" https://github.com/intel/lkp-tests/wiki -1d2f372894e87a38a162681b88575dfd0f9e2cd7721a182c1023b427c0e06499 +46d331711bd23791695b871f50bb5b1e13c940276b3634416f15dc7d6a98f85e
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.