All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <202205070247.0InKO8AP-lkp@intel.com>

diff --git a/a/1.txt b/N1/1.txt
index 70f475d..272e2aa 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,16 +1,6 @@
-CC: kbuild-all(a)lists.01.org
-BCC: lkp(a)intel.com
-CC: Linux Memory Management List <linux-mm@kvack.org>
-TO: Yong Wu <yong.wu@mediatek.com>
-CC: Joerg Roedel <jroedel@suse.de>
-CC: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
-CC: Matthias Brugger <matthias.bgg@gmail.com>
-
 tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
 head:   38a288f5941ef03752887ad86f2d85442358c99a
 commit: d2e9a1102cfc22c08450875faa667a60f0b1b1f6 [8521/9759] iommu/mediatek: Contain MM IOMMU flow with the MM TYPE
-:::::: branch date: 10 hours ago
-:::::: commit date: 2 days ago
 config: openrisc-randconfig-m031-20220506 (https://download.01.org/0day-ci/archive/20220507/202205070247.0InKO8AP-lkp(a)intel.com/config)
 compiler: or1k-linux-gcc (GCC) 11.3.0
 
@@ -21,12 +11,8 @@ Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
 New smatch warnings:
 drivers/iommu/mtk_iommu.c:878 mtk_iommu_mm_dts_parse() error: uninitialized symbol 'larbnode'.
 
-Old smatch warnings:
-drivers/iommu/mtk_iommu.c:583 mtk_iommu_iova_to_phys() warn: impossible condition '(pa >= 5368709120) => (0-u32max >= 5368709120)'
-
 vim +/larbnode +878 drivers/iommu/mtk_iommu.c
 
-0df4fabe208d95 Yong Wu 2016-02-23  833  
 d2e9a1102cfc22 Yong Wu 2022-05-03  834  static int mtk_iommu_mm_dts_parse(struct device *dev, struct component_match **match,
 d2e9a1102cfc22 Yong Wu 2022-05-03  835  				  struct mtk_iommu_data *data)
 0df4fabe208d95 Yong Wu 2016-02-23  836  {
@@ -40,6 +26,10 @@ d2e9a1102cfc22 Yong Wu 2022-05-03  843  	if (larb_nr < 0)
 d2e9a1102cfc22 Yong Wu 2022-05-03  844  		return larb_nr;
 d2e9a1102cfc22 Yong Wu 2022-05-03  845  
 d2e9a1102cfc22 Yong Wu 2022-05-03  846  	for (i = 0; i < larb_nr; i++) {
+
+Smatch can't parse of data so it doesn't know that larb_nr can't be
+zero.
+
 d2e9a1102cfc22 Yong Wu 2022-05-03  847  		u32 id;
 d2e9a1102cfc22 Yong Wu 2022-05-03  848  
 d2e9a1102cfc22 Yong Wu 2022-05-03  849  		larbnode = of_parse_phandle(dev->of_node, "mediatek,larbs", i);
@@ -87,7 +77,6 @@ d2e9a1102cfc22 Yong Wu 2022-05-03  890  		return -EINVAL;
 d2e9a1102cfc22 Yong Wu 2022-05-03  891  	}
 d2e9a1102cfc22 Yong Wu 2022-05-03  892  	return 0;
 d2e9a1102cfc22 Yong Wu 2022-05-03  893  }
-d2e9a1102cfc22 Yong Wu 2022-05-03  894  
 
 -- 
 0-DAY CI Kernel Test Service
diff --git a/a/content_digest b/N1/content_digest
index 715af69..e6d77cc 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\0[linux-next:master 8521/9759] drivers/iommu/mtk_iommu.c:878 mtk_iommu_mm_dts_parse() error: uninitialized symbol 'larbnode'.\0"
- "Date\0Sat, 07 May 2022 02:14:19 +0800\0"
- "To\0kbuild@lists.01.org\0"
+ "Date\0Mon, 09 May 2022 12:26:31 +0300\0"
+ "To\0kbuild-all@lists.01.org\0"
  "\01:1\0"
  "b\0"
- "CC: kbuild-all(a)lists.01.org\n"
- "BCC: lkp(a)intel.com\n"
- "CC: Linux Memory Management List <linux-mm@kvack.org>\n"
- "TO: Yong Wu <yong.wu@mediatek.com>\n"
- "CC: Joerg Roedel <jroedel@suse.de>\n"
- "CC: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>\n"
- "CC: Matthias Brugger <matthias.bgg@gmail.com>\n"
- "\n"
  "tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master\n"
  "head:   38a288f5941ef03752887ad86f2d85442358c99a\n"
  "commit: d2e9a1102cfc22c08450875faa667a60f0b1b1f6 [8521/9759] iommu/mediatek: Contain MM IOMMU flow with the MM TYPE\n"
- ":::::: branch date: 10 hours ago\n"
- ":::::: commit date: 2 days ago\n"
  "config: openrisc-randconfig-m031-20220506 (https://download.01.org/0day-ci/archive/20220507/202205070247.0InKO8AP-lkp(a)intel.com/config)\n"
  "compiler: or1k-linux-gcc (GCC) 11.3.0\n"
  "\n"
@@ -27,12 +17,8 @@
  "New smatch warnings:\n"
  "drivers/iommu/mtk_iommu.c:878 mtk_iommu_mm_dts_parse() error: uninitialized symbol 'larbnode'.\n"
  "\n"
- "Old smatch warnings:\n"
- "drivers/iommu/mtk_iommu.c:583 mtk_iommu_iova_to_phys() warn: impossible condition '(pa >= 5368709120) => (0-u32max >= 5368709120)'\n"
- "\n"
  "vim +/larbnode +878 drivers/iommu/mtk_iommu.c\n"
  "\n"
- "0df4fabe208d95 Yong Wu 2016-02-23  833  \n"
  "d2e9a1102cfc22 Yong Wu 2022-05-03  834  static int mtk_iommu_mm_dts_parse(struct device *dev, struct component_match **match,\n"
  "d2e9a1102cfc22 Yong Wu 2022-05-03  835  \t\t\t\t  struct mtk_iommu_data *data)\n"
  "0df4fabe208d95 Yong Wu 2016-02-23  836  {\n"
@@ -46,6 +32,10 @@
  "d2e9a1102cfc22 Yong Wu 2022-05-03  844  \t\treturn larb_nr;\n"
  "d2e9a1102cfc22 Yong Wu 2022-05-03  845  \n"
  "d2e9a1102cfc22 Yong Wu 2022-05-03  846  \tfor (i = 0; i < larb_nr; i++) {\n"
+ "\n"
+ "Smatch can't parse of data so it doesn't know that larb_nr can't be\n"
+ "zero.\n"
+ "\n"
  "d2e9a1102cfc22 Yong Wu 2022-05-03  847  \t\tu32 id;\n"
  "d2e9a1102cfc22 Yong Wu 2022-05-03  848  \n"
  "d2e9a1102cfc22 Yong Wu 2022-05-03  849  \t\tlarbnode = of_parse_phandle(dev->of_node, \"mediatek,larbs\", i);\n"
@@ -93,10 +83,9 @@
  "d2e9a1102cfc22 Yong Wu 2022-05-03  891  \t}\n"
  "d2e9a1102cfc22 Yong Wu 2022-05-03  892  \treturn 0;\n"
  "d2e9a1102cfc22 Yong Wu 2022-05-03  893  }\n"
- "d2e9a1102cfc22 Yong Wu 2022-05-03  894  \n"
  "\n"
  "-- \n"
  "0-DAY CI Kernel Test Service\n"
  https://01.org/lkp
 
-03f147fc23eedaa3dee4dcef22d61c3ada3614f55fd80347eb3ff112185987f7
+1002159b758ae96195af14cdb7d1b43038bceff7afaecd209d30ab266bc3b6fb

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.