diff for duplicates of <202508180815.R2nDyajs-lkp@intel.com> diff --git a/a/1.txt b/N1/1.txt index c3d01c6..94f7388 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,13 +1,21 @@ +BCC: lkp@intel.com +CC: oe-kbuild-all@lists.linux.dev +CC: linux-serial@vger.kernel.org +TO: Zong Jiang <quic_zongjian@quicinc.com> +CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org> + tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing head: 7cd9f5d6c5a3f31d2b282d31ddc4d78ff83a5c08 commit: 9391ab1ed9b3fe0d1af7d7858d9bf42f476628c8 [8/24] serial: qcom-geni: Make UART port count configurable via Kconfig +:::::: branch date: 14 hours ago +:::::: commit date: 4 days ago config: parisc-randconfig-r072-20250818 (https://download.01.org/0day-ci/archive/20250818/202508180815.R2nDyajs-lkp@intel.com/config) compiler: hppa-linux-gcc (GCC) 8.5.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/202508180815.R2nDyajs-lkp@intel.com/ New smatch warnings: @@ -18,6 +26,7 @@ drivers/tty/serial/qcom_geni_serial.c:1931 qcom_geni_serial_probe() warn: missin vim +/max +274 drivers/tty/serial/qcom_geni_serial.c +c4f528795d1add Karthikeyan Ramasubramanian 2018-03-14 259 c3e7966c60745f Zong Jiang 2025-08-12 260 static struct qcom_geni_serial_port *get_port_from_line(int line, bool console, struct device *dev) c4f528795d1add Karthikeyan Ramasubramanian 2018-03-14 261 { 8a8a66a1a18a1d Girish Mahadevan 2018-07-13 262 struct qcom_geni_serial_port *port; @@ -33,16 +42,8 @@ a53be6945f5123 Viken Dadhaniya 2025-03-27 271 int max_alias_num a53be6945f5123 Viken Dadhaniya 2025-03-27 272 8a8a66a1a18a1d Girish Mahadevan 2018-07-13 273 if (line < 0 || line >= nr_ports) a53be6945f5123 Viken Dadhaniya 2025-03-27 @274 line = ida_alloc_range(&port_ida, max_alias_num + 1, nr_ports, GFP_KERNEL); - -ida_alloc_range() range parameters are inclusive so this should be - - ida_alloc_range(&port_ida, max_alias_num + 1, nr_ports - 1, GFP_KERNEL); - a53be6945f5123 Viken Dadhaniya 2025-03-27 275 else a53be6945f5123 Viken Dadhaniya 2025-03-27 276 line = ida_alloc_range(&port_ida, line, nr_ports, GFP_KERNEL); - -same here - a53be6945f5123 Viken Dadhaniya 2025-03-27 277 a53be6945f5123 Viken Dadhaniya 2025-03-27 278 if (line < 0) c4f528795d1add Karthikeyan Ramasubramanian 2018-03-14 279 return ERR_PTR(-ENXIO); @@ -58,6 +59,13 @@ c3e7966c60745f Zong Jiang 2025-08-12 288 port->uport.line = a53be6945f5123 Viken Dadhaniya 2025-03-27 289 } 8a8a66a1a18a1d Girish Mahadevan 2018-07-13 290 return port; c4f528795d1add Karthikeyan Ramasubramanian 2018-03-14 291 } +c4f528795d1add Karthikeyan Ramasubramanian 2018-03-14 292 + +:::::: The code at line 274 was first introduced by commit +:::::: a53be6945f5123c19d6fcc30783876705a2e0f00 serial: qcom-geni: Remove alias dependency from qcom serial driver + +:::::: TO: Viken Dadhaniya <quic_vdadhani@quicinc.com> +:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org> -- 0-DAY CI Kernel Test Service diff --git a/a/content_digest b/N1/content_digest index 1fa1e87..930dfe0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,24 +1,29 @@ - "From\0Dan Carpenter <dan.carpenter@linaro.org>\0" + "From\0kernel test robot <lkp@intel.com>\0" "Subject\0[tty:tty-testing 8/24] drivers/tty/serial/qcom_geni_serial.c:274 get_port_from_line() error: Calling ida_alloc_range() with a 'max' argument which is a power of 2. -1 missing?\0" - "Date\0Mon, 18 Aug 2025 09:34:06 +0300\0" - "To\0oe-kbuild@lists.linux.dev" - " Zong Jiang <quic_zongjian@quicinc.com>\0" + "Date\0Mon, 18 Aug 2025 08:35:39 +0800\0" + "To\0oe-kbuild@lists.linux.dev\0" "Cc\0lkp@intel.com" - oe-kbuild-all@lists.linux.dev - linux-serial@vger.kernel.org - " Greg Kroah-Hartman <gregkh@linuxfoundation.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" + "CC: linux-serial@vger.kernel.org\n" + "TO: Zong Jiang <quic_zongjian@quicinc.com>\n" + "CC: \"Greg Kroah-Hartman\" <gregkh@linuxfoundation.org>\n" + "\n" "tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing\n" "head: 7cd9f5d6c5a3f31d2b282d31ddc4d78ff83a5c08\n" "commit: 9391ab1ed9b3fe0d1af7d7858d9bf42f476628c8 [8/24] serial: qcom-geni: Make UART port count configurable via Kconfig\n" + ":::::: branch date: 14 hours ago\n" + ":::::: commit date: 4 days ago\n" "config: parisc-randconfig-r072-20250818 (https://download.01.org/0day-ci/archive/20250818/202508180815.R2nDyajs-lkp@intel.com/config)\n" "compiler: hppa-linux-gcc (GCC) 8.5.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/202508180815.R2nDyajs-lkp@intel.com/\n" "\n" "New smatch warnings:\n" @@ -29,6 +34,7 @@ "\n" "vim +/max +274 drivers/tty/serial/qcom_geni_serial.c\n" "\n" + "c4f528795d1add Karthikeyan Ramasubramanian 2018-03-14 259 \n" "c3e7966c60745f Zong Jiang 2025-08-12 260 static struct qcom_geni_serial_port *get_port_from_line(int line, bool console, struct device *dev)\n" "c4f528795d1add Karthikeyan Ramasubramanian 2018-03-14 261 {\n" "8a8a66a1a18a1d Girish Mahadevan 2018-07-13 262 \tstruct qcom_geni_serial_port *port;\n" @@ -44,16 +50,8 @@ "a53be6945f5123 Viken Dadhaniya 2025-03-27 272 \n" "8a8a66a1a18a1d Girish Mahadevan 2018-07-13 273 \t\tif (line < 0 || line >= nr_ports)\n" "a53be6945f5123 Viken Dadhaniya 2025-03-27 @274 \t\t\tline = ida_alloc_range(&port_ida, max_alias_num + 1, nr_ports, GFP_KERNEL);\n" - "\n" - "ida_alloc_range() range parameters are inclusive so this should be\n" - "\n" - "\tida_alloc_range(&port_ida, max_alias_num + 1, nr_ports - 1, GFP_KERNEL);\n" - "\n" "a53be6945f5123 Viken Dadhaniya 2025-03-27 275 \t\telse\n" "a53be6945f5123 Viken Dadhaniya 2025-03-27 276 \t\t\tline = ida_alloc_range(&port_ida, line, nr_ports, GFP_KERNEL);\n" - "\n" - "same here\n" - "\n" "a53be6945f5123 Viken Dadhaniya 2025-03-27 277 \n" "a53be6945f5123 Viken Dadhaniya 2025-03-27 278 \t\tif (line < 0)\n" "c4f528795d1add Karthikeyan Ramasubramanian 2018-03-14 279 \t\t\treturn ERR_PTR(-ENXIO);\n" @@ -69,9 +67,16 @@ "a53be6945f5123 Viken Dadhaniya 2025-03-27 289 \t}\n" "8a8a66a1a18a1d Girish Mahadevan 2018-07-13 290 \treturn port;\n" "c4f528795d1add Karthikeyan Ramasubramanian 2018-03-14 291 }\n" + "c4f528795d1add Karthikeyan Ramasubramanian 2018-03-14 292 \n" + "\n" + ":::::: The code at line 274 was first introduced by commit\n" + ":::::: a53be6945f5123c19d6fcc30783876705a2e0f00 serial: qcom-geni: Remove alias dependency from qcom serial driver\n" + "\n" + ":::::: TO: Viken Dadhaniya <quic_vdadhani@quicinc.com>\n" + ":::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n" "\n" "-- \n" "0-DAY CI Kernel Test Service\n" https://github.com/intel/lkp-tests/wiki -2d09d8782c2078bbbea2d8b71ff25315fc6ca084c5b274549cc2582bede73bb2 +be3ee487517df6b19a67e8b89b91706673a49e431d1044b4cdb79a265b5d78d0
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.