diff for duplicates of <202209160713.HoIRfGTB-lkp@intel.com> diff --git a/a/1.txt b/N1/1.txt index a58a323..ef605d0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,16 +1,6 @@ -BCC: lkp(a)intel.com -CC: kbuild-all(a)lists.01.org -CC: linux-kernel(a)vger.kernel.org -TO: Russ Weight <russell.h.weight@intel.com> -CC: Xu Yilun <yilun.xu@intel.com> -CC: Tom Rix <trix@redhat.com> - tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3245cb65fd91cd514801bf91f5a3066d562f0ac4 commit: 154afa5c31cd2de5e6c2c4f35eee390993ee345a fpga: m10bmc-sec: expose max10 flash update count -date: 3 months ago -:::::: branch date: 2 days ago -:::::: commit date: 3 months ago config: m68k-randconfig-m031-20220914 (https://download.01.org/0day-ci/archive/20220916/202209160713.HoIRfGTB-lkp(a)intel.com/config) compiler: m68k-linux-gcc (GCC) 12.1.0 @@ -23,7 +13,6 @@ drivers/fpga/intel-m10-bmc-sec-update.c:103 flash_count_show() warn: possible me vim +/flash_buf +103 drivers/fpga/intel-m10-bmc-sec-update.c -154afa5c31cd2d Russ Weight 2022-06-06 82 154afa5c31cd2d Russ Weight 2022-06-06 83 static ssize_t flash_count_show(struct device *dev, 154afa5c31cd2d Russ Weight 2022-06-06 84 struct device_attribute *attr, char *buf) 154afa5c31cd2d Russ Weight 2022-06-06 85 { @@ -44,6 +33,9 @@ vim +/flash_buf +103 drivers/fpga/intel-m10-bmc-sec-update.c 154afa5c31cd2d Russ Weight 2022-06-06 100 "FLASH_COUNT_SIZE (0x%x) not aligned to stride (0x%x)\n", 154afa5c31cd2d Russ Weight 2022-06-06 101 FLASH_COUNT_SIZE, stride); 154afa5c31cd2d Russ Weight 2022-06-06 102 WARN_ON_ONCE(1); + +do this check before the kmalloc()? + 154afa5c31cd2d Russ Weight 2022-06-06 @103 return -EINVAL; 154afa5c31cd2d Russ Weight 2022-06-06 104 } 154afa5c31cd2d Russ Weight 2022-06-06 105 @@ -62,8 +54,6 @@ vim +/flash_buf +103 drivers/fpga/intel-m10-bmc-sec-update.c 154afa5c31cd2d Russ Weight 2022-06-06 118 154afa5c31cd2d Russ Weight 2022-06-06 119 return ret ? : sysfs_emit(buf, "%u\n", cnt); 154afa5c31cd2d Russ Weight 2022-06-06 120 } -154afa5c31cd2d Russ Weight 2022-06-06 121 static DEVICE_ATTR_RO(flash_count); -154afa5c31cd2d Russ Weight 2022-06-06 122 -- 0-DAY CI Kernel Test Service diff --git a/a/content_digest b/N1/content_digest index 36d0f93..a1e15c2 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,22 +1,12 @@ - "From\0kernel test robot <lkp@intel.com>\0" + "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0drivers/fpga/intel-m10-bmc-sec-update.c:103 flash_count_show() warn: possible memory leak of 'flash_buf'\0" - "Date\0Fri, 16 Sep 2022 07:11:28 +0800\0" - "To\0kbuild@lists.01.org\0" + "Date\0Fri, 16 Sep 2022 09:56:47 +0300\0" + "To\0kbuild-all@lists.01.org\0" "\01:1\0" "b\0" - "BCC: lkp(a)intel.com\n" - "CC: kbuild-all(a)lists.01.org\n" - "CC: linux-kernel(a)vger.kernel.org\n" - "TO: Russ Weight <russell.h.weight@intel.com>\n" - "CC: Xu Yilun <yilun.xu@intel.com>\n" - "CC: Tom Rix <trix@redhat.com>\n" - "\n" "tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master\n" "head: 3245cb65fd91cd514801bf91f5a3066d562f0ac4\n" "commit: 154afa5c31cd2de5e6c2c4f35eee390993ee345a fpga: m10bmc-sec: expose max10 flash update count\n" - "date: 3 months ago\n" - ":::::: branch date: 2 days ago\n" - ":::::: commit date: 3 months ago\n" "config: m68k-randconfig-m031-20220914 (https://download.01.org/0day-ci/archive/20220916/202209160713.HoIRfGTB-lkp(a)intel.com/config)\n" "compiler: m68k-linux-gcc (GCC) 12.1.0\n" "\n" @@ -29,7 +19,6 @@ "\n" "vim +/flash_buf +103 drivers/fpga/intel-m10-bmc-sec-update.c\n" "\n" - "154afa5c31cd2d Russ Weight 2022-06-06 82 \n" "154afa5c31cd2d Russ Weight 2022-06-06 83 static ssize_t flash_count_show(struct device *dev,\n" "154afa5c31cd2d Russ Weight 2022-06-06 84 \t\t\t\tstruct device_attribute *attr, char *buf)\n" "154afa5c31cd2d Russ Weight 2022-06-06 85 {\n" @@ -50,6 +39,9 @@ "154afa5c31cd2d Russ Weight 2022-06-06 100 \t\t\t\"FLASH_COUNT_SIZE (0x%x) not aligned to stride (0x%x)\\n\",\n" "154afa5c31cd2d Russ Weight 2022-06-06 101 \t\t\tFLASH_COUNT_SIZE, stride);\n" "154afa5c31cd2d Russ Weight 2022-06-06 102 \t\tWARN_ON_ONCE(1);\n" + "\n" + "do this check before the kmalloc()?\n" + "\n" "154afa5c31cd2d Russ Weight 2022-06-06 @103 \t\treturn -EINVAL;\n" "154afa5c31cd2d Russ Weight 2022-06-06 104 \t}\n" "154afa5c31cd2d Russ Weight 2022-06-06 105 \n" @@ -68,11 +60,9 @@ "154afa5c31cd2d Russ Weight 2022-06-06 118 \n" "154afa5c31cd2d Russ Weight 2022-06-06 119 \treturn ret ? : sysfs_emit(buf, \"%u\\n\", cnt);\n" "154afa5c31cd2d Russ Weight 2022-06-06 120 }\n" - "154afa5c31cd2d Russ Weight 2022-06-06 121 static DEVICE_ATTR_RO(flash_count);\n" - "154afa5c31cd2d Russ Weight 2022-06-06 122 \n" "\n" "-- \n" "0-DAY CI Kernel Test Service\n" https://01.org/lkp -9af9d6d8f1dbabc889af74f137a79b858b820d4783aa77ae4e087908ccc73eb4 +7349b7978f19d01ab1b5c19fd69839b4a6f0bb43759cbe8c5e2a41aced85827c
diff --git a/a/1.txt b/N2/1.txt index a58a323..f303d7b 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -1,17 +1,7 @@ -BCC: lkp(a)intel.com -CC: kbuild-all(a)lists.01.org -CC: linux-kernel(a)vger.kernel.org -TO: Russ Weight <russell.h.weight@intel.com> -CC: Xu Yilun <yilun.xu@intel.com> -CC: Tom Rix <trix@redhat.com> - tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3245cb65fd91cd514801bf91f5a3066d562f0ac4 commit: 154afa5c31cd2de5e6c2c4f35eee390993ee345a fpga: m10bmc-sec: expose max10 flash update count -date: 3 months ago -:::::: branch date: 2 days ago -:::::: commit date: 3 months ago -config: m68k-randconfig-m031-20220914 (https://download.01.org/0day-ci/archive/20220916/202209160713.HoIRfGTB-lkp(a)intel.com/config) +config: m68k-randconfig-m031-20220914 (https://download.01.org/0day-ci/archive/20220916/202209160713.HoIRfGTB-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable @@ -23,7 +13,6 @@ drivers/fpga/intel-m10-bmc-sec-update.c:103 flash_count_show() warn: possible me vim +/flash_buf +103 drivers/fpga/intel-m10-bmc-sec-update.c -154afa5c31cd2d Russ Weight 2022-06-06 82 154afa5c31cd2d Russ Weight 2022-06-06 83 static ssize_t flash_count_show(struct device *dev, 154afa5c31cd2d Russ Weight 2022-06-06 84 struct device_attribute *attr, char *buf) 154afa5c31cd2d Russ Weight 2022-06-06 85 { @@ -44,6 +33,9 @@ vim +/flash_buf +103 drivers/fpga/intel-m10-bmc-sec-update.c 154afa5c31cd2d Russ Weight 2022-06-06 100 "FLASH_COUNT_SIZE (0x%x) not aligned to stride (0x%x)\n", 154afa5c31cd2d Russ Weight 2022-06-06 101 FLASH_COUNT_SIZE, stride); 154afa5c31cd2d Russ Weight 2022-06-06 102 WARN_ON_ONCE(1); + +do this check before the kmalloc()? + 154afa5c31cd2d Russ Weight 2022-06-06 @103 return -EINVAL; 154afa5c31cd2d Russ Weight 2022-06-06 104 } 154afa5c31cd2d Russ Weight 2022-06-06 105 @@ -62,8 +54,6 @@ vim +/flash_buf +103 drivers/fpga/intel-m10-bmc-sec-update.c 154afa5c31cd2d Russ Weight 2022-06-06 118 154afa5c31cd2d Russ Weight 2022-06-06 119 return ret ? : sysfs_emit(buf, "%u\n", cnt); 154afa5c31cd2d Russ Weight 2022-06-06 120 } -154afa5c31cd2d Russ Weight 2022-06-06 121 static DEVICE_ATTR_RO(flash_count); -154afa5c31cd2d Russ Weight 2022-06-06 122 -- 0-DAY CI Kernel Test Service diff --git a/a/content_digest b/N2/content_digest index 36d0f93..86805eb 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,23 +1,19 @@ - "From\0kernel test robot <lkp@intel.com>\0" + "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0drivers/fpga/intel-m10-bmc-sec-update.c:103 flash_count_show() warn: possible memory leak of 'flash_buf'\0" - "Date\0Fri, 16 Sep 2022 07:11:28 +0800\0" - "To\0kbuild@lists.01.org\0" - "\01:1\0" + "Date\0Fri, 16 Sep 2022 09:56:47 +0300\0" + "To\0kbuild@lists.01.org" + " Russ Weight <russell.h.weight@intel.com>\0" + "Cc\0lkp@intel.com" + kbuild-all@lists.01.org + linux-kernel@vger.kernel.org + Xu Yilun <yilun.xu@intel.com> + " Tom Rix <trix@redhat.com>\0" + "\00:1\0" "b\0" - "BCC: lkp(a)intel.com\n" - "CC: kbuild-all(a)lists.01.org\n" - "CC: linux-kernel(a)vger.kernel.org\n" - "TO: Russ Weight <russell.h.weight@intel.com>\n" - "CC: Xu Yilun <yilun.xu@intel.com>\n" - "CC: Tom Rix <trix@redhat.com>\n" - "\n" "tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master\n" "head: 3245cb65fd91cd514801bf91f5a3066d562f0ac4\n" "commit: 154afa5c31cd2de5e6c2c4f35eee390993ee345a fpga: m10bmc-sec: expose max10 flash update count\n" - "date: 3 months ago\n" - ":::::: branch date: 2 days ago\n" - ":::::: commit date: 3 months ago\n" - "config: m68k-randconfig-m031-20220914 (https://download.01.org/0day-ci/archive/20220916/202209160713.HoIRfGTB-lkp(a)intel.com/config)\n" + "config: m68k-randconfig-m031-20220914 (https://download.01.org/0day-ci/archive/20220916/202209160713.HoIRfGTB-lkp@intel.com/config)\n" "compiler: m68k-linux-gcc (GCC) 12.1.0\n" "\n" "If you fix the issue, kindly add following tag where applicable\n" @@ -29,7 +25,6 @@ "\n" "vim +/flash_buf +103 drivers/fpga/intel-m10-bmc-sec-update.c\n" "\n" - "154afa5c31cd2d Russ Weight 2022-06-06 82 \n" "154afa5c31cd2d Russ Weight 2022-06-06 83 static ssize_t flash_count_show(struct device *dev,\n" "154afa5c31cd2d Russ Weight 2022-06-06 84 \t\t\t\tstruct device_attribute *attr, char *buf)\n" "154afa5c31cd2d Russ Weight 2022-06-06 85 {\n" @@ -50,6 +45,9 @@ "154afa5c31cd2d Russ Weight 2022-06-06 100 \t\t\t\"FLASH_COUNT_SIZE (0x%x) not aligned to stride (0x%x)\\n\",\n" "154afa5c31cd2d Russ Weight 2022-06-06 101 \t\t\tFLASH_COUNT_SIZE, stride);\n" "154afa5c31cd2d Russ Weight 2022-06-06 102 \t\tWARN_ON_ONCE(1);\n" + "\n" + "do this check before the kmalloc()?\n" + "\n" "154afa5c31cd2d Russ Weight 2022-06-06 @103 \t\treturn -EINVAL;\n" "154afa5c31cd2d Russ Weight 2022-06-06 104 \t}\n" "154afa5c31cd2d Russ Weight 2022-06-06 105 \n" @@ -68,11 +66,9 @@ "154afa5c31cd2d Russ Weight 2022-06-06 118 \n" "154afa5c31cd2d Russ Weight 2022-06-06 119 \treturn ret ? : sysfs_emit(buf, \"%u\\n\", cnt);\n" "154afa5c31cd2d Russ Weight 2022-06-06 120 }\n" - "154afa5c31cd2d Russ Weight 2022-06-06 121 static DEVICE_ATTR_RO(flash_count);\n" - "154afa5c31cd2d Russ Weight 2022-06-06 122 \n" "\n" "-- \n" "0-DAY CI Kernel Test Service\n" https://01.org/lkp -9af9d6d8f1dbabc889af74f137a79b858b820d4783aa77ae4e087908ccc73eb4 +d33aba82c9874a5dc59c466d448185972ab937240731deed79c07732eb64c133
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.