All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <48632CAF.3090703@renesas.com>

diff --git a/a/1.txt b/N1/1.txt
index f617516..f6a29b3 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -125,7 +125,7 @@ index 0000000..53b1fde
 +	unsigned short cntr = IN16(par, LDCNTR);
 +	int lps;
 +
-+	if (blank == FB_BLANK_UNBLANK) {
++	if (blank = FB_BLANK_UNBLANK) {
 +		cntr = LDCNTR_DON2 | LDCNTR_DON;
 +		lps = 3;
 +	} else {
@@ -261,7 +261,7 @@ index 0000000..53b1fde
 +
 +	var->bits_per_pixel = bpp;
 +
-+	if ((var->grayscale) && (var->bits_per_pixel == 1))
++	if ((var->grayscale) && (var->bits_per_pixel = 1))
 +		fix->visual = FB_VISUAL_MONO10;
 +	else if (var->bits_per_pixel >= 15)
 +		fix->visual = FB_VISUAL_TRUECOLOR;
@@ -353,13 +353,13 @@ index 0000000..53b1fde
 +	if (!gray)
 +		stride *= (bpp + 7) >> 3;
 +	else {
-+		if (bpp == 1)
++		if (bpp = 1)
 +			stride >>= 3;
-+		else if (bpp == 2)
++		else if (bpp = 2)
 +			stride >>= 2;
-+		else if (bpp == 4)
++		else if (bpp = 4)
 +			stride >>= 1;
-+		/* 6 bpp == 8 bpp */
++		/* 6 bpp = 8 bpp */
 +	}
 +
 +	/* if rotated, stride must be power of 2 */
@@ -475,11 +475,11 @@ index 0000000..53b1fde
 +
 +	vram = info->var.xres * info->var.yres;
 +	if (info->var.grayscale) {
-+		if (bpp == 1)
++		if (bpp = 1)
 +			vram >>= 3;
-+		else if (bpp == 2)
++		else if (bpp = 2)
 +			vram >>= 2;
-+		else if (bpp == 4)
++		else if (bpp = 4)
 +			vram >>= 1;
 +	} else if (bpp > 8)
 +		vram *= 2;
@@ -491,8 +491,7 @@ index 0000000..53b1fde
 +	if (vram < PAGE_SIZE)
 +		vram = PAGE_SIZE;
 +
-+	fbmem =
-+	    dma_alloc_coherent(info->dev, vram, &par->fbdma, GFP_KERNEL);
++	fbmem +	    dma_alloc_coherent(info->dev, vram, &par->fbdma, GFP_KERNEL);
 +
 +	if (!fbmem)
 +		return -ENOMEM;
@@ -520,7 +519,7 @@ index 0000000..53b1fde
 +
 +	/* Get base addr */
 +	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-+	if (unlikely(res == NULL)) {
++	if (unlikely(res = NULL)) {
 +		dev_err(&pdev->dev, "invalid resource\n");
 +		return -EINVAL;
 +	}
@@ -686,10 +685,3 @@ index 0000000..53b1fde
 +MODULE_LICENSE("GPL");
 -- 
 1.5.5.1
-
-
--------------------------------------------------------------------------
-Check out the new SourceForge.net Marketplace.
-It's the best place to buy or sell services for
-just about anything Open Source.
-http://sourceforge.net/services/buy/index.php
diff --git a/a/content_digest b/N1/content_digest
index 69bf00f..6533713 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>\0"
- "Subject\0[PATCH v2 1/4] video: sh7760fb: SH7760/SH7763 LCDC framebuffer driver part 1/3\0"
- "Date\0Thu, 26 Jun 2008 14:44:15 +0900\0"
+ "Subject\0[PATCH v2 1/4] video: sh7760fb: SH7760/SH7763 LCDC framebuffer driver\0"
+ "Date\0Thu, 26 Jun 2008 05:44:15 +0000\0"
  "To\0linuc-fbdev <Linux-fbdev-devel@lists.sourceforge.net>\0"
  "Cc\0Paul Mundt <lethal@linux-sh.org>"
  " Linux-sh <linux-sh@vger.kernel.org>\0"
@@ -133,7 +133,7 @@
  "+\tunsigned short cntr = IN16(par, LDCNTR);\n"
  "+\tint lps;\n"
  "+\n"
- "+\tif (blank == FB_BLANK_UNBLANK) {\n"
+ "+\tif (blank = FB_BLANK_UNBLANK) {\n"
  "+\t\tcntr = LDCNTR_DON2 | LDCNTR_DON;\n"
  "+\t\tlps = 3;\n"
  "+\t} else {\n"
@@ -269,7 +269,7 @@
  "+\n"
  "+\tvar->bits_per_pixel = bpp;\n"
  "+\n"
- "+\tif ((var->grayscale) && (var->bits_per_pixel == 1))\n"
+ "+\tif ((var->grayscale) && (var->bits_per_pixel = 1))\n"
  "+\t\tfix->visual = FB_VISUAL_MONO10;\n"
  "+\telse if (var->bits_per_pixel >= 15)\n"
  "+\t\tfix->visual = FB_VISUAL_TRUECOLOR;\n"
@@ -361,13 +361,13 @@
  "+\tif (!gray)\n"
  "+\t\tstride *= (bpp + 7) >> 3;\n"
  "+\telse {\n"
- "+\t\tif (bpp == 1)\n"
+ "+\t\tif (bpp = 1)\n"
  "+\t\t\tstride >>= 3;\n"
- "+\t\telse if (bpp == 2)\n"
+ "+\t\telse if (bpp = 2)\n"
  "+\t\t\tstride >>= 2;\n"
- "+\t\telse if (bpp == 4)\n"
+ "+\t\telse if (bpp = 4)\n"
  "+\t\t\tstride >>= 1;\n"
- "+\t\t/* 6 bpp == 8 bpp */\n"
+ "+\t\t/* 6 bpp = 8 bpp */\n"
  "+\t}\n"
  "+\n"
  "+\t/* if rotated, stride must be power of 2 */\n"
@@ -483,11 +483,11 @@
  "+\n"
  "+\tvram = info->var.xres * info->var.yres;\n"
  "+\tif (info->var.grayscale) {\n"
- "+\t\tif (bpp == 1)\n"
+ "+\t\tif (bpp = 1)\n"
  "+\t\t\tvram >>= 3;\n"
- "+\t\telse if (bpp == 2)\n"
+ "+\t\telse if (bpp = 2)\n"
  "+\t\t\tvram >>= 2;\n"
- "+\t\telse if (bpp == 4)\n"
+ "+\t\telse if (bpp = 4)\n"
  "+\t\t\tvram >>= 1;\n"
  "+\t} else if (bpp > 8)\n"
  "+\t\tvram *= 2;\n"
@@ -499,8 +499,7 @@
  "+\tif (vram < PAGE_SIZE)\n"
  "+\t\tvram = PAGE_SIZE;\n"
  "+\n"
- "+\tfbmem =\n"
- "+\t    dma_alloc_coherent(info->dev, vram, &par->fbdma, GFP_KERNEL);\n"
+ "+\tfbmem +\t    dma_alloc_coherent(info->dev, vram, &par->fbdma, GFP_KERNEL);\n"
  "+\n"
  "+\tif (!fbmem)\n"
  "+\t\treturn -ENOMEM;\n"
@@ -528,7 +527,7 @@
  "+\n"
  "+\t/* Get base addr */\n"
  "+\tres = platform_get_resource(pdev, IORESOURCE_MEM, 0);\n"
- "+\tif (unlikely(res == NULL)) {\n"
+ "+\tif (unlikely(res = NULL)) {\n"
  "+\t\tdev_err(&pdev->dev, \"invalid resource\\n\");\n"
  "+\t\treturn -EINVAL;\n"
  "+\t}\n"
@@ -693,13 +692,6 @@
  "+MODULE_DESCRIPTION(\"FBdev for SH7760/63 integrated LCD Controller\");\n"
  "+MODULE_LICENSE(\"GPL\");\n"
  "-- \n"
- "1.5.5.1\n"
- "\n"
- "\n"
- "-------------------------------------------------------------------------\n"
- "Check out the new SourceForge.net Marketplace.\n"
- "It's the best place to buy or sell services for\n"
- "just about anything Open Source.\n"
- http://sourceforge.net/services/buy/index.php
+ 1.5.5.1
 
-b325902d70aed5da5b5e919fa4a3606e399849898e4022b0089086e14b0c61d6
+e8514c3adcff022c989b667981f9533eb005f0c5b122441a5d1f0510c70f68c0

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.