All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <1138302724.25503.1.camel@localhost>

diff --git a/a/1.txt b/N1/1.txt
index 4f8a77c..f6e9713 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -21,9 +21,9 @@ Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
  dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size,
      int direction)
  {
--	if (direction == PCI_DMA_NONE)
+-	if (direction = PCI_DMA_NONE)
 -		BUG();
-+	BUG_ON(direction == PCI_DMA_NONE);
++	BUG_ON(direction = PCI_DMA_NONE);
  	/* IIep is write-through, not flushing. */
  	return virt_to_phys(ptr);
  }
@@ -31,9 +31,9 @@ Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
  void pci_unmap_single(struct pci_dev *hwdev, dma_addr_t ba, size_t size,
      int direction)
  {
--	if (direction == PCI_DMA_NONE)
+-	if (direction = PCI_DMA_NONE)
 -		BUG();
-+	BUG_ON(direction == PCI_DMA_NONE);
++	BUG_ON(direction = PCI_DMA_NONE);
  	if (direction != PCI_DMA_TODEVICE) {
  		mmu_inval_dma_area((unsigned long)phys_to_virt(ba),
  		    (size + PAGE_SIZE-1) & PAGE_MASK);
@@ -41,9 +41,9 @@ Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
  dma_addr_t pci_map_page(struct pci_dev *hwdev, struct page *page,
  			unsigned long offset, size_t size, int direction)
  {
--	if (direction == PCI_DMA_NONE)
+-	if (direction = PCI_DMA_NONE)
 -		BUG();
-+	BUG_ON(direction == PCI_DMA_NONE);
++	BUG_ON(direction = PCI_DMA_NONE);
  	/* IIep is write-through, not flushing. */
  	return page_to_phys(page) + offset;
  }
@@ -51,9 +51,9 @@ Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
  void pci_unmap_page(struct pci_dev *hwdev,
  			dma_addr_t dma_address, size_t size, int direction)
  {
--	if (direction == PCI_DMA_NONE)
+-	if (direction = PCI_DMA_NONE)
 -		BUG();
-+	BUG_ON(direction == PCI_DMA_NONE);
++	BUG_ON(direction = PCI_DMA_NONE);
  	/* mmu_inval_dma_area XXX */
  }
  
@@ -61,13 +61,13 @@ Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
  {
  	int n;
  
--	if (direction == PCI_DMA_NONE)
+-	if (direction = PCI_DMA_NONE)
 -		BUG();
-+	BUG_ON(direction == PCI_DMA_NONE);
++	BUG_ON(direction = PCI_DMA_NONE);
  	/* IIep is write-through, not flushing. */
  	for (n = 0; n < nents; n++) {
--		if (page_address(sg->page) == NULL) BUG();
-+		BUG_ON(page_address(sg->page) == NULL);
+-		if (page_address(sg->page) = NULL) BUG();
++		BUG_ON(page_address(sg->page) = NULL);
  		sg->dvma_address = virt_to_phys(page_address(sg->page));
  		sg->dvma_length = sg->length;
  		sg++;
@@ -75,13 +75,13 @@ Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
  {
  	int n;
  
--	if (direction == PCI_DMA_NONE)
+-	if (direction = PCI_DMA_NONE)
 -		BUG();
-+	BUG_ON(direction == PCI_DMA_NONE);
++	BUG_ON(direction = PCI_DMA_NONE);
  	if (direction != PCI_DMA_TODEVICE) {
  		for (n = 0; n < nents; n++) {
--			if (page_address(sg->page) == NULL) BUG();
-+			BUG_ON(page_address(sg->page) == NULL);
+-			if (page_address(sg->page) = NULL) BUG();
++			BUG_ON(page_address(sg->page) = NULL);
  			mmu_inval_dma_area(
  			    (unsigned long) page_address(sg->page),
  			    (sg->length + PAGE_SIZE-1) & PAGE_MASK);
@@ -89,9 +89,9 @@ Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
   */
  void pci_dma_sync_single_for_cpu(struct pci_dev *hwdev, dma_addr_t ba, size_t size, int direction)
  {
--	if (direction == PCI_DMA_NONE)
+-	if (direction = PCI_DMA_NONE)
 -		BUG();
-+	BUG_ON(direction == PCI_DMA_NONE);
++	BUG_ON(direction = PCI_DMA_NONE);
  	if (direction != PCI_DMA_TODEVICE) {
  		mmu_inval_dma_area((unsigned long)phys_to_virt(ba),
  		    (size + PAGE_SIZE-1) & PAGE_MASK);
@@ -99,9 +99,9 @@ Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
  
  void pci_dma_sync_single_for_device(struct pci_dev *hwdev, dma_addr_t ba, size_t size, int direction)
  {
--	if (direction == PCI_DMA_NONE)
+-	if (direction = PCI_DMA_NONE)
 -		BUG();
-+	BUG_ON(direction == PCI_DMA_NONE);
++	BUG_ON(direction = PCI_DMA_NONE);
  	if (direction != PCI_DMA_TODEVICE) {
  		mmu_inval_dma_area((unsigned long)phys_to_virt(ba),
  		    (size + PAGE_SIZE-1) & PAGE_MASK);
@@ -109,13 +109,13 @@ Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
  {
  	int n;
  
--	if (direction == PCI_DMA_NONE)
+-	if (direction = PCI_DMA_NONE)
 -		BUG();
-+	BUG_ON(direction == PCI_DMA_NONE);
++	BUG_ON(direction = PCI_DMA_NONE);
  	if (direction != PCI_DMA_TODEVICE) {
  		for (n = 0; n < nents; n++) {
--			if (page_address(sg->page) == NULL) BUG();
-+			BUG_ON(page_address(sg->page) == NULL);
+-			if (page_address(sg->page) = NULL) BUG();
++			BUG_ON(page_address(sg->page) = NULL);
  			mmu_inval_dma_area(
  			    (unsigned long) page_address(sg->page),
  			    (sg->length + PAGE_SIZE-1) & PAGE_MASK);
@@ -123,13 +123,13 @@ Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
  {
  	int n;
  
--	if (direction == PCI_DMA_NONE)
+-	if (direction = PCI_DMA_NONE)
 -		BUG();
-+	BUG_ON(direction == PCI_DMA_NONE);
++	BUG_ON(direction = PCI_DMA_NONE);
  	if (direction != PCI_DMA_TODEVICE) {
  		for (n = 0; n < nents; n++) {
--			if (page_address(sg->page) == NULL) BUG();
-+			BUG_ON(page_address(sg->page) == NULL);
+-			if (page_address(sg->page) = NULL) BUG();
++			BUG_ON(page_address(sg->page) = NULL);
  			mmu_inval_dma_area(
  			    (unsigned long) page_address(sg->page),
  			    (sg->length + PAGE_SIZE-1) & PAGE_MASK);
diff --git a/a/2.hdr b/a/2.hdr
deleted file mode 100644
index c0c5a86..0000000
--- a/a/2.hdr
+++ /dev/null
@@ -1,4 +0,0 @@
-Content-Type: text/plain; charset="iso-8859-1"
-MIME-Version: 1.0
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
diff --git a/a/2.txt b/a/2.txt
deleted file mode 100644
index 410ecf0..0000000
--- a/a/2.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-_______________________________________________
-Kernel-janitors mailing list
-Kernel-janitors@lists.osdl.org
-https://lists.osdl.org/mailman/listinfo/kernel-janitors
diff --git a/a/content_digest b/N1/content_digest
index 4083b73..d925111 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,8 +1,8 @@
  "From\0Eric Sesterhenn / snakebyte <snakebyte@gmx.de>\0"
- "Subject\0[KJ] [Patch] BUG_ON() Conversion in arch/sparc/kernel/ioport.c\0"
+ "Subject\0[Patch] BUG_ON() Conversion in arch/sparc/kernel/ioport.c\0"
  "Date\0Thu, 26 Jan 2006 19:12:04 +0000\0"
  "To\0kernel-janitors@vger.kernel.org\0"
- "\01:1\0"
+ "\00:1\0"
  "b\0"
  "hi,\n"
  "\n"
@@ -27,9 +27,9 @@
  " dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size,\n"
  "     int direction)\n"
  " {\n"
- "-\tif (direction == PCI_DMA_NONE)\n"
+ "-\tif (direction = PCI_DMA_NONE)\n"
  "-\t\tBUG();\n"
- "+\tBUG_ON(direction == PCI_DMA_NONE);\n"
+ "+\tBUG_ON(direction = PCI_DMA_NONE);\n"
  " \t/* IIep is write-through, not flushing. */\n"
  " \treturn virt_to_phys(ptr);\n"
  " }\n"
@@ -37,9 +37,9 @@
  " void pci_unmap_single(struct pci_dev *hwdev, dma_addr_t ba, size_t size,\n"
  "     int direction)\n"
  " {\n"
- "-\tif (direction == PCI_DMA_NONE)\n"
+ "-\tif (direction = PCI_DMA_NONE)\n"
  "-\t\tBUG();\n"
- "+\tBUG_ON(direction == PCI_DMA_NONE);\n"
+ "+\tBUG_ON(direction = PCI_DMA_NONE);\n"
  " \tif (direction != PCI_DMA_TODEVICE) {\n"
  " \t\tmmu_inval_dma_area((unsigned long)phys_to_virt(ba),\n"
  " \t\t    (size + PAGE_SIZE-1) & PAGE_MASK);\n"
@@ -47,9 +47,9 @@
  " dma_addr_t pci_map_page(struct pci_dev *hwdev, struct page *page,\n"
  " \t\t\tunsigned long offset, size_t size, int direction)\n"
  " {\n"
- "-\tif (direction == PCI_DMA_NONE)\n"
+ "-\tif (direction = PCI_DMA_NONE)\n"
  "-\t\tBUG();\n"
- "+\tBUG_ON(direction == PCI_DMA_NONE);\n"
+ "+\tBUG_ON(direction = PCI_DMA_NONE);\n"
  " \t/* IIep is write-through, not flushing. */\n"
  " \treturn page_to_phys(page) + offset;\n"
  " }\n"
@@ -57,9 +57,9 @@
  " void pci_unmap_page(struct pci_dev *hwdev,\n"
  " \t\t\tdma_addr_t dma_address, size_t size, int direction)\n"
  " {\n"
- "-\tif (direction == PCI_DMA_NONE)\n"
+ "-\tif (direction = PCI_DMA_NONE)\n"
  "-\t\tBUG();\n"
- "+\tBUG_ON(direction == PCI_DMA_NONE);\n"
+ "+\tBUG_ON(direction = PCI_DMA_NONE);\n"
  " \t/* mmu_inval_dma_area XXX */\n"
  " }\n"
  " \n"
@@ -67,13 +67,13 @@
  " {\n"
  " \tint n;\n"
  " \n"
- "-\tif (direction == PCI_DMA_NONE)\n"
+ "-\tif (direction = PCI_DMA_NONE)\n"
  "-\t\tBUG();\n"
- "+\tBUG_ON(direction == PCI_DMA_NONE);\n"
+ "+\tBUG_ON(direction = PCI_DMA_NONE);\n"
  " \t/* IIep is write-through, not flushing. */\n"
  " \tfor (n = 0; n < nents; n++) {\n"
- "-\t\tif (page_address(sg->page) == NULL) BUG();\n"
- "+\t\tBUG_ON(page_address(sg->page) == NULL);\n"
+ "-\t\tif (page_address(sg->page) = NULL) BUG();\n"
+ "+\t\tBUG_ON(page_address(sg->page) = NULL);\n"
  " \t\tsg->dvma_address = virt_to_phys(page_address(sg->page));\n"
  " \t\tsg->dvma_length = sg->length;\n"
  " \t\tsg++;\n"
@@ -81,13 +81,13 @@
  " {\n"
  " \tint n;\n"
  " \n"
- "-\tif (direction == PCI_DMA_NONE)\n"
+ "-\tif (direction = PCI_DMA_NONE)\n"
  "-\t\tBUG();\n"
- "+\tBUG_ON(direction == PCI_DMA_NONE);\n"
+ "+\tBUG_ON(direction = PCI_DMA_NONE);\n"
  " \tif (direction != PCI_DMA_TODEVICE) {\n"
  " \t\tfor (n = 0; n < nents; n++) {\n"
- "-\t\t\tif (page_address(sg->page) == NULL) BUG();\n"
- "+\t\t\tBUG_ON(page_address(sg->page) == NULL);\n"
+ "-\t\t\tif (page_address(sg->page) = NULL) BUG();\n"
+ "+\t\t\tBUG_ON(page_address(sg->page) = NULL);\n"
  " \t\t\tmmu_inval_dma_area(\n"
  " \t\t\t    (unsigned long) page_address(sg->page),\n"
  " \t\t\t    (sg->length + PAGE_SIZE-1) & PAGE_MASK);\n"
@@ -95,9 +95,9 @@
  "  */\n"
  " void pci_dma_sync_single_for_cpu(struct pci_dev *hwdev, dma_addr_t ba, size_t size, int direction)\n"
  " {\n"
- "-\tif (direction == PCI_DMA_NONE)\n"
+ "-\tif (direction = PCI_DMA_NONE)\n"
  "-\t\tBUG();\n"
- "+\tBUG_ON(direction == PCI_DMA_NONE);\n"
+ "+\tBUG_ON(direction = PCI_DMA_NONE);\n"
  " \tif (direction != PCI_DMA_TODEVICE) {\n"
  " \t\tmmu_inval_dma_area((unsigned long)phys_to_virt(ba),\n"
  " \t\t    (size + PAGE_SIZE-1) & PAGE_MASK);\n"
@@ -105,9 +105,9 @@
  " \n"
  " void pci_dma_sync_single_for_device(struct pci_dev *hwdev, dma_addr_t ba, size_t size, int direction)\n"
  " {\n"
- "-\tif (direction == PCI_DMA_NONE)\n"
+ "-\tif (direction = PCI_DMA_NONE)\n"
  "-\t\tBUG();\n"
- "+\tBUG_ON(direction == PCI_DMA_NONE);\n"
+ "+\tBUG_ON(direction = PCI_DMA_NONE);\n"
  " \tif (direction != PCI_DMA_TODEVICE) {\n"
  " \t\tmmu_inval_dma_area((unsigned long)phys_to_virt(ba),\n"
  " \t\t    (size + PAGE_SIZE-1) & PAGE_MASK);\n"
@@ -115,13 +115,13 @@
  " {\n"
  " \tint n;\n"
  " \n"
- "-\tif (direction == PCI_DMA_NONE)\n"
+ "-\tif (direction = PCI_DMA_NONE)\n"
  "-\t\tBUG();\n"
- "+\tBUG_ON(direction == PCI_DMA_NONE);\n"
+ "+\tBUG_ON(direction = PCI_DMA_NONE);\n"
  " \tif (direction != PCI_DMA_TODEVICE) {\n"
  " \t\tfor (n = 0; n < nents; n++) {\n"
- "-\t\t\tif (page_address(sg->page) == NULL) BUG();\n"
- "+\t\t\tBUG_ON(page_address(sg->page) == NULL);\n"
+ "-\t\t\tif (page_address(sg->page) = NULL) BUG();\n"
+ "+\t\t\tBUG_ON(page_address(sg->page) = NULL);\n"
  " \t\t\tmmu_inval_dma_area(\n"
  " \t\t\t    (unsigned long) page_address(sg->page),\n"
  " \t\t\t    (sg->length + PAGE_SIZE-1) & PAGE_MASK);\n"
@@ -129,21 +129,15 @@
  " {\n"
  " \tint n;\n"
  " \n"
- "-\tif (direction == PCI_DMA_NONE)\n"
+ "-\tif (direction = PCI_DMA_NONE)\n"
  "-\t\tBUG();\n"
- "+\tBUG_ON(direction == PCI_DMA_NONE);\n"
+ "+\tBUG_ON(direction = PCI_DMA_NONE);\n"
  " \tif (direction != PCI_DMA_TODEVICE) {\n"
  " \t\tfor (n = 0; n < nents; n++) {\n"
- "-\t\t\tif (page_address(sg->page) == NULL) BUG();\n"
- "+\t\t\tBUG_ON(page_address(sg->page) == NULL);\n"
+ "-\t\t\tif (page_address(sg->page) = NULL) BUG();\n"
+ "+\t\t\tBUG_ON(page_address(sg->page) = NULL);\n"
  " \t\t\tmmu_inval_dma_area(\n"
  " \t\t\t    (unsigned long) page_address(sg->page),\n"
  " \t\t\t    (sg->length + PAGE_SIZE-1) & PAGE_MASK);"
- "\01:2\0"
- "b\0"
- "_______________________________________________\n"
- "Kernel-janitors mailing list\n"
- "Kernel-janitors@lists.osdl.org\n"
- https://lists.osdl.org/mailman/listinfo/kernel-janitors
 
-3b33fc7cb1b60cd277bde7e4ec8f447d489c527986e13b76db568cd3413cf571
+10bd351bb859648802d8404bd00743eac5cbb7ccce7617b7a57932e6e9a4f017

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.